-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
75 lines (65 loc) · 1.96 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
[tool.poetry]
name = 'flake8-type-checking'
version = "2.9.1"
description = 'A flake8 plugin for managing type-checking imports & forward references'
homepage = 'https://github.com/snok'
repository = 'https://github.com/snok/flake8-type-checking'
authors = ['Sondre Lillebø Gundersen <[email protected]>']
license = 'BSD-3-Clause'
readme = 'README.md'
keywords = ['flake8', 'plugin', 'linting', 'type hint', 'typing', 'imports']
packages = [{ include = 'flake8_type_checking' }]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Environment :: Console',
'Operating System :: OS Independent',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Quality Assurance',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Typing :: Typed',
]
[tool.poetry.urls]
"Releases" = "https://github.com/snok/flake8-type-checking/releases"
[tool.poetry.dependencies]
python = '>=3.8'
flake8 = '*'
astor = {python = "<3.9", version = "*"}
classify-imports = '*'
[tool.poetry.dev-dependencies]
pytest = '*'
ipython = '*'
coverage = '*'
pre-commit = '*'
pytest-flake8-path = '*'
[tool.poetry.plugins.'flake8.extension']
TC = 'flake8_type_checking.plugin:Plugin'
[tool.poetry.group.dev.dependencies]
flake8-use-pathlib = "^0.3.0"
[build-system]
requires = ['poetry-core>=1.0.0']
build-backend = 'poetry.core.masonry.api'
[tool.black]
quiet = true
line-length = 120
skip-string-normalization = true
preview = true
[tool.isort]
profile = "black"
line_length = 120
[tool.coverage.run]
source = ['flake8_type_checking']
omit = ['flake8_type_checking/types.py']
branch = false
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_lines = [
'if TYPE_CHECKING:',
'pragma: no cover'
]