-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (52 loc) · 1.56 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
[tool.poetry]
name = "flake8-too-many"
version = "0.1.5"
description = "A flake8 plugin that prevents you from writing \"too many\" bad codes."
readme = "README.md"
license = "MIT"
authors = ["Queensferry <[email protected]>"]
repository = "https://github.com/queensferryme/flake8-too-many"
homepage = "https://github.com/queensferryme/flake8-too-many"
keywords = ["code quality", "flake8", "linting", "plugin"]
classifiers = [
"Environment :: Console",
"Framework :: Flake8",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
]
[tool.poetry.dependencies]
python = "^3.7.0"
dataclasses = { version = "^0.8", python = "< 3.7" }
flake8 = "^5.0.0"
[tool.poetry.group.dev.dependencies]
black = "^22.10.0"
httpx = "^0.23.0"
pre-commit = "^2.20.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.1.3"
pytest-cov = "^4.0.0"
[tool.poetry.plugins."flake8.extension"]
TMN = "flake8_too_many:Checker"
[tool.black]
include = '\.pyi?$'
target-version = ["py37"]
[tool.coverage.run]
include = ["flake8_too_many/*"]
[tool.isort]
balanced_wrapping = true
combine_as_imports = true
lines_after_imports = 2
profile = "black"
[tool.mypy]
pretty = true
python_version = 3.7
show_error_codes = true
strict = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"