Team Ai
Apppublic

Aniaaaa/code_site

sourceHugging Faceupdated 4y agoView on Hugging Face
0likes
setup.cfg60 linesDownload Raw Back to root
1# Project-wide configuration file, can be used for package metadata and other toll configurations2# Example usage: global configuration for PEP8 (via flake8) setting or default pytest arguments3# Local usage: pip install pre-commit, pre-commit run --all-files4 5[metadata]6license_file = LICENSE7description_file = README.md8 9 10[tool:pytest]11norecursedirs =12    .git13    dist14    build15addopts =16    --doctest-modules17    --durations=2518    --color=yes19 20 21[flake8]22max-line-length = 12023exclude = .tox,*.egg,build,temp24select = E,W,F25doctests = True26verbose = 227# https://pep8.readthedocs.io/en/latest/intro.html#error-codes28format = pylint29# see: https://www.flake8rules.com/30ignore =31    E731  # Do not assign a lambda expression, use a def32    F405  # name may be undefined, or defined from star imports: module33    E402  # module level import not at top of file34    F401  # module imported but unused35    W504  # line break after binary operator36    E127  # continuation line over-indented for visual indent37    W504  # line break after binary operator38    E231  # missing whitespace after ‘,’, ‘;’, or ‘:’39    E501  # line too long40    F403  # ‘from module import *’ used; unable to detect undefined names41 42 43[isort]44# https://pycqa.github.io/isort/docs/configuration/options.html45line_length = 12046# see: https://pycqa.github.io/isort/docs/configuration/multi_line_output_modes.html47multi_line_output = 048 49 50[yapf]51based_on_style = pep852spaces_before_comment = 253COLUMN_LIMIT = 12054COALESCE_BRACKETS = True55SPACES_AROUND_POWER_OPERATOR = True56SPACE_BETWEEN_ENDING_COMMA_AND_CLOSING_BRACKET = False57SPLIT_BEFORE_CLOSING_BRACKET = False58SPLIT_BEFORE_FIRST_ARGUMENT = False59# EACH_DICT_ENTRY_ON_SEPARATE_LINE = False60