flask/setup.cfg

122 lines
3.0 KiB
INI
Raw Normal View History

2020-04-05 05:36:09 +08:00
[metadata]
name = Flask
2021-02-25 02:09:50 +08:00
version = attr: flask.__version__
2020-04-05 05:36:09 +08:00
url = https://palletsprojects.com/p/flask
project_urls =
2021-02-25 02:09:15 +08:00
Donate = https://palletsprojects.com/donate
2020-04-05 05:36:09 +08:00
Documentation = https://flask.palletsprojects.com/
2021-02-25 02:09:15 +08:00
Changes = https://flask.palletsprojects.com/changes/
Source Code = https://github.com/pallets/flask/
Issue Tracker = https://github.com/pallets/flask/issues/
Twitter = https://twitter.com/PalletsTeam
Chat = https://discord.gg/pallets
2020-04-05 05:36:09 +08:00
license = BSD-3-Clause
2020-07-02 00:09:12 +08:00
author = Armin Ronacher
author_email = armin.ronacher@active-4.com
2020-04-05 05:36:09 +08:00
maintainer = Pallets
maintainer_email = contact@palletsprojects.com
description = A simple framework for building complex web applications.
long_description = file: README.rst
long_description_content_type = text/x-rst
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Framework :: Flask
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python
Topic :: Internet :: WWW/HTTP :: Dynamic Content
Topic :: Internet :: WWW/HTTP :: WSGI
Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Topic :: Software Development :: Libraries :: Application Frameworks
[options]
packages = find:
package_dir = = src
2022-01-14 06:42:36 +08:00
include_package_data = True
2021-11-12 08:11:43 +08:00
python_requires = >= 3.7
2020-04-05 05:36:09 +08:00
# Dependencies are in setup.py for GitHub's dependency graph.
[options.packages.find]
where = src
[options.entry_points]
console_scripts =
flask = flask.cli:main
[tool:pytest]
testpaths = tests
2020-04-04 08:23:21 +08:00
filterwarnings =
error
2018-04-13 03:37:35 +08:00
[coverage:run]
branch = True
source =
flask
tests
[coverage:paths]
source =
2020-04-04 08:23:21 +08:00
src
*/site-packages
2019-06-01 01:38:39 +08:00
[flake8]
# B = bugbear
# E = pycodestyle errors
# F = flake8 pyflakes
# W = pycodestyle warnings
# B9 = bugbear opinions
2022-01-14 06:42:36 +08:00
# ISC = implicit str concat
2020-04-05 00:43:06 +08:00
select = B, E, F, W, B9, ISC
2019-06-01 01:38:39 +08:00
ignore =
# slice notation whitespace, invalid
E203
# import at top, too many circular import fixes
E402
# line length, handled by bugbear B950
E501
# bare except, handled by bugbear B001
E722
# bin op line break, invalid
W503
# up to 88 allowed by bugbear B950
max-line-length = 80
per-file-ignores =
2022-01-14 06:42:36 +08:00
# __init__ exports names
2020-04-05 00:43:06 +08:00
src/flask/__init__.py: F401
[mypy]
2022-06-06 06:49:41 +08:00
files = src/flask, tests/typing
2021-11-12 08:11:43 +08:00
python_version = 3.7
2022-01-14 06:42:36 +08:00
show_error_codes = True
allow_redefinition = True
disallow_subclassing_any = True
# disallow_untyped_calls = True
# disallow_untyped_defs = True
# disallow_incomplete_defs = True
no_implicit_optional = True
local_partial_types = True
# no_implicit_reexport = True
strict_equality = True
warn_redundant_casts = True
warn_unused_configs = True
warn_unused_ignores = True
# warn_return_any = True
# warn_unreachable = True
[mypy-asgiref.*]
ignore_missing_imports = True
[mypy-blinker.*]
ignore_missing_imports = True
[mypy-dotenv.*]
ignore_missing_imports = True
2021-07-01 18:43:35 +08:00
[mypy-cryptography.*]
ignore_missing_imports = True
[mypy-importlib_metadata]
ignore_missing_imports = True