-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
85 lines (78 loc) · 2.41 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
[tool.poetry]
name = "flake8-action-hero"
version = "0.0.0"
description = "A plugin for flake8 that performs conditional FIXME/TODO checks."
authors = ["Shane Spencer <[email protected] >"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/whardier/flake8-action-hero"
homepage = "https://github.com/whardier/flake8-action-hero"
keywords = [
"flake8",
"plugin",
"linting",
"code quality",
"quality assurance",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Framework :: Flake8",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
]
packages = [
{ include = "flake8_action_hero", from="src" },
# Include autogenerated source files separately
{ include = "_flake8_action_hero_version.py", from="src" },
]
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
[tool.poetry-dynamic-versioning.substitution]
files = ["src/_flake8_action_hero_version.py"]
patterns = ["(^version\\s*=\\s*['\"])[^'\"]*(['\"])"]
[tool.poetry.plugins."flake8.extension"]
AH = "flake8_action_hero.checker:ActionChecker"
[tool.poetry.dependencies]
# TODO(SRS): DATE: AFTER: 2022-01-01: Work this back to earlier python versions and
# flake8 versions as much as possible
python = "^3.8"
flake8 = "^3.9.2"
importlib-metadata = {version = "^4.6.3", optional = true}
packages = {version = "^0.1.0", optional = true}
[tool.poetry.dev-dependencies]
bandit = "^1.7.0"
black = "^21.7b0"
flake8 = "^3.9.2"
flake8-bandit = "^2.1.2"
flake8-bugbear = "^21.4.3"
flake8-eradicate = "^1.1.0"
flake8-variables-names = "^0.0.4"
freezegun = "^1.1.0"
hypothesis = "^6.14.6"
mypy = "^0.910"
pre-commit = "^2.14.0"
pytest = "^6.2.4"
pytest-cov = "^2.12.1"
pytest-env = "^0.6.2"
pytest-subtests = "^0.5.0"
pytest-xdist = "^2.3.0"
rope = "^0.19.0"
tox = "^3.24.1"
types-freezegun = "^1.1.0"
types-pkg-resources = "^0.1.3"
types-python-dateutil = "^0.1.6"
[tool.poetry.extras]
# TODO(SRS): DATE: AFTER: 2022-01-01: Find alternative to `packages` that works on
# earlier python versions than 3.8 - or add in optional python specifier and just warn.
package = [
"packages",
"importlib_metadata"
]
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry.core.masonry.api"