flake8/setup.cfg
2021-12-31 15:09:54 -08:00

114 lines
5.1 KiB
INI

[metadata]
name = flake8
version = attr: flake8.__version__
description = the modular source code checker: pep8 pyflakes and co
long_description = file: README.rst
long_description_content_type = text/x-rst
url = https://github.com/pycqa/flake8
author = Tarek Ziade
author_email = tarek@ziade.org
maintainer = Ian Stapleton Cordasco
maintainer_email = graffatcolmingov@gmail.com
license = MIT
license_file = LICENSE
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Framework :: Flake8
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Software Development :: Quality Assurance
[options]
packages = find:
package_dir =
=src
# We document the reasoning for using ranges here:
# http://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
# And in which releases we will update those ranges here:
# http://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8
install_requires =
mccabe>=0.6.0,<0.7.0
pycodestyle>=2.8.0,<2.9.0
pyflakes>=2.4.0,<2.5.0
importlib-metadata<4.3;python_version<"3.8"
python_requires = >=3.6.1
[options.packages.find]
where = src
[options.entry_points]
console_scripts =
flake8 = flake8.main.cli:main
flake8.extension =
F = flake8.plugins.pyflakes:FlakesChecker
pycodestyle.ambiguous_identifier = pycodestyle:ambiguous_identifier
pycodestyle.bare_except = pycodestyle:bare_except
pycodestyle.blank_lines = pycodestyle:blank_lines
pycodestyle.break_after_binary_operator = pycodestyle:break_after_binary_operator
pycodestyle.break_before_binary_operator = pycodestyle:break_before_binary_operator
pycodestyle.comparison_negative = pycodestyle:comparison_negative
pycodestyle.comparison_to_singleton = pycodestyle:comparison_to_singleton
pycodestyle.comparison_type = pycodestyle:comparison_type
pycodestyle.compound_statements = pycodestyle:compound_statements
pycodestyle.continued_indentation = pycodestyle:continued_indentation
pycodestyle.explicit_line_join = pycodestyle:explicit_line_join
pycodestyle.extraneous_whitespace = pycodestyle:extraneous_whitespace
pycodestyle.imports_on_separate_lines = pycodestyle:imports_on_separate_lines
pycodestyle.indentation = pycodestyle:indentation
pycodestyle.maximum_doc_length = pycodestyle:maximum_doc_length
pycodestyle.maximum_line_length = pycodestyle:maximum_line_length
pycodestyle.missing_whitespace = pycodestyle:missing_whitespace
pycodestyle.missing_whitespace_after_import_keyword = pycodestyle:missing_whitespace_after_import_keyword
pycodestyle.missing_whitespace_around_operator = pycodestyle:missing_whitespace_around_operator
pycodestyle.module_imports_on_top_of_file = pycodestyle:module_imports_on_top_of_file
pycodestyle.python_3000_async_await_keywords = pycodestyle:python_3000_async_await_keywords
pycodestyle.python_3000_backticks = pycodestyle:python_3000_backticks
pycodestyle.python_3000_has_key = pycodestyle:python_3000_has_key
pycodestyle.python_3000_invalid_escape_sequence = pycodestyle:python_3000_invalid_escape_sequence
pycodestyle.python_3000_not_equal = pycodestyle:python_3000_not_equal
pycodestyle.python_3000_raise_comma = pycodestyle:python_3000_raise_comma
pycodestyle.tabs_obsolete = pycodestyle:tabs_obsolete
pycodestyle.tabs_or_spaces = pycodestyle:tabs_or_spaces
pycodestyle.trailing_blank_lines = pycodestyle:trailing_blank_lines
pycodestyle.trailing_whitespace = pycodestyle:trailing_whitespace
pycodestyle.whitespace_around_comma = pycodestyle:whitespace_around_comma
pycodestyle.whitespace_around_keywords = pycodestyle:whitespace_around_keywords
pycodestyle.whitespace_around_named_parameter_equals = pycodestyle:whitespace_around_named_parameter_equals
pycodestyle.whitespace_around_operator = pycodestyle:whitespace_around_operator
pycodestyle.whitespace_before_comment = pycodestyle:whitespace_before_comment
pycodestyle.whitespace_before_parameters = pycodestyle:whitespace_before_parameters
flake8.report =
default = flake8.formatting.default:Default
pylint = flake8.formatting.default:Pylint
quiet-filename = flake8.formatting.default:FilenameOnly
quiet-nothing = flake8.formatting.default:Nothing
[bdist_wheel]
universal = 1
[mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_unused_ignores = true
# TODO: fix these
[mypy-flake8.api.legacy]
disallow_untyped_defs = false
[mypy-tests.*]
disallow_untyped_defs = false