2018-09-06 20:55:10 +02:00
|
|
|
[metadata]
|
2021-10-10 03:31:57 +02:00
|
|
|
name = click
|
|
|
|
version = attr: click.__version__
|
|
|
|
url = https://palletsprojects.com/p/click/
|
|
|
|
project_urls =
|
|
|
|
Donate = https://palletsprojects.com/donate
|
|
|
|
Documentation = https://click.palletsprojects.com/
|
|
|
|
Changes = https://click.palletsprojects.com/changes/
|
|
|
|
Source Code = https://github.com/pallets/click/
|
|
|
|
Issue Tracker = https://github.com/pallets/click/issues/
|
|
|
|
Twitter = https://twitter.com/PalletsTeam
|
|
|
|
Chat = https://discord.gg/pallets
|
|
|
|
license = BSD-3-Clause
|
|
|
|
license_files = LICENSE.rst
|
|
|
|
author = Armin Ronacher
|
|
|
|
author_email = armin.ronacher@active-4.com
|
|
|
|
maintainer = Pallets
|
|
|
|
maintainer_email = contact@palletsprojects.com
|
|
|
|
description = Composable command line interface toolkit
|
|
|
|
long_description = file: README.rst
|
|
|
|
long_description_content_type = text/x-rst
|
|
|
|
classifiers =
|
|
|
|
Development Status :: 5 - Production/Stable
|
|
|
|
Intended Audience :: Developers
|
|
|
|
License :: OSI Approved :: BSD License
|
|
|
|
Operating System :: OS Independent
|
|
|
|
Programming Language :: Python
|
2019-01-07 17:51:19 +01:00
|
|
|
|
2021-10-10 03:31:57 +02:00
|
|
|
[options]
|
|
|
|
packages = find:
|
|
|
|
package_dir = = src
|
2022-11-30 09:52:01 +01:00
|
|
|
include_package_data = True
|
|
|
|
python_requires = >= 3.7
|
2021-10-10 03:31:57 +02:00
|
|
|
# Dependencies are in setup.py for GitHub's dependency graph.
|
|
|
|
|
|
|
|
[options.packages.find]
|
|
|
|
where = src
|
2014-10-16 20:40:34 +02:00
|
|
|
|
2018-09-06 20:55:10 +02:00
|
|
|
[tool:pytest]
|
2019-01-07 17:51:19 +01:00
|
|
|
testpaths = tests
|
2021-10-10 03:31:57 +02:00
|
|
|
filterwarnings =
|
|
|
|
error
|
2019-01-07 17:51:19 +01:00
|
|
|
|
|
|
|
[coverage:run]
|
2022-11-30 09:52:01 +01:00
|
|
|
branch = True
|
2021-10-10 03:31:57 +02:00
|
|
|
source =
|
|
|
|
click
|
|
|
|
tests
|
2019-01-07 17:51:19 +01:00
|
|
|
|
|
|
|
[coverage:paths]
|
2021-10-10 03:31:57 +02:00
|
|
|
source =
|
2022-11-30 09:52:01 +01:00
|
|
|
src
|
2021-10-10 03:31:57 +02:00
|
|
|
*/site-packages
|
2020-07-21 08:23:42 +02:00
|
|
|
|
|
|
|
[flake8]
|
2021-10-10 03:31:57 +02:00
|
|
|
# B = bugbear
|
|
|
|
# E = pycodestyle errors
|
|
|
|
# F = flake8 pyflakes
|
|
|
|
# W = pycodestyle warnings
|
2022-11-30 09:52:01 +01:00
|
|
|
# B9 = bugbear opinions
|
2021-10-10 03:31:57 +02:00
|
|
|
# ISC = implicit str concat
|
2020-07-21 08:23:42 +02:00
|
|
|
select = B, E, F, W, B9, ISC
|
2021-10-10 03:31:57 +02:00
|
|
|
ignore =
|
|
|
|
# slice notation whitespace, invalid
|
|
|
|
E203
|
|
|
|
# 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
|
2020-07-21 08:23:42 +02:00
|
|
|
max-line-length = 80
|
2021-10-10 03:31:57 +02:00
|
|
|
per-file-ignores =
|
2022-11-30 09:52:01 +01:00
|
|
|
# __init__ exports names
|
2021-10-10 03:31:57 +02:00
|
|
|
src/click/__init__.py: F401
|
|
|
|
|
|
|
|
[mypy]
|
|
|
|
files = src/click
|
2022-11-30 09:52:01 +01:00
|
|
|
python_version = 3.7
|
|
|
|
show_error_codes = True
|
2021-10-10 03:31:57 +02:00
|
|
|
disallow_subclassing_any = True
|
|
|
|
disallow_untyped_calls = True
|
|
|
|
disallow_untyped_defs = True
|
|
|
|
disallow_incomplete_defs = True
|
|
|
|
check_untyped_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
|
2019-01-07 17:51:19 +01:00
|
|
|
|
2021-10-10 03:31:57 +02:00
|
|
|
[mypy-colorama.*]
|
|
|
|
ignore_missing_imports = True
|
2019-01-07 17:51:19 +01:00
|
|
|
|
2021-10-10 03:31:57 +02:00
|
|
|
[mypy-importlib_metadata.*]
|
|
|
|
ignore_missing_imports = True
|