-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
102 lines (81 loc) · 2.29 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[build-system]
requires = ['setuptools', 'setuptools_scm']
build-backend = 'setuptools.build_meta'
[project]
name = 'flake8-modern-annotations'
description = 'Flake8 modern annotations validation'
readme = 'README.md'
requires-python = '>= 3.7'
keywords = ['flake8', 'noqa']
classifiers = [
'Framework :: Flake8',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Quality Assurance',
]
dependencies = [
'flake8 >= 3.8.0, < 8.0',
'importlib_metadata >= 4.0.0, < 5.0.0; python_version < "3.8.0"',
'typing_extensions >= 3.7.4.2',
]
dynamic = ['version']
[[project.authors]]
name = 'Peter Linss'
email = 'pypi@linss.com'
[project.urls]
homepage = 'https://github.com/plinss/flake8-modern-annotations'
[project.license]
text = 'GNU Lesser General Public License v3'
[project.optional-dependencies]
dev = [
'mypy',
'flake8>=3.8.0,<6.0.0', # <6.0.0 for other extensions
'flake8-annotations',
'flake8-bandit',
'flake8-bugbear',
'flake8-commas',
'flake8-comprehensions',
'flake8-continuation',
'flake8-datetimez',
'flake8-docstrings',
'flake8-import-order',
'flake8-literal',
'flake8-noqa',
'flake8-polyfill',
'flake8-pyproject',
'flake8-modern-annotations',
'flake8-requirements',
# 'flake8-tabs',
'flake8-typechecking-import',
'flake8-use-fstring',
'pep8-naming',
]
test = [
]
[project.entry-points."flake8.extension"]
MDA = 'flake8_modern_annotations.checker:AnnotationChecker'
[tool.setuptools_scm]
[tool.flake8]
ignore = ['D102', 'D107', 'D107', 'D401', 'E101', 'W503', 'W191', 'ANN002', 'ANN003', 'ANN101', 'ANN102', 'ANN401', 'FS003']
max-line-length = 160
noqa-require-code = true
modern-annotations-type-alias = 'always'
use-flake8-tabs = true
blank-lines-indent = 'never'
[tool.mypy]
mypy_path = 'stubs'
[[tool.mypy.overrides]]
module = [
'flake8.*',
'importlib.metadata',
]
ignore_missing_imports = true