-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
pyproject.toml
77 lines (68 loc) · 2.42 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
[tool.nitpick]
# Use the default style and override some things (like the Python version)
style = ["nitpick-style", "styles/python35-36-37-38"]
[tool.black]
line-length = 120
[tool.poetry]
name = "nitpick"
version = "0.22.2"
description = "Flake8 plugin to enforce the same lint configuration (flake8, isort, mypy, pylint) across multiple Python projects"
authors = ["W. Augusto Andreoli <andreoliwa@gmail.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/andreoliwa/nitpick"
keywords = ["python3", "flake8", "linter", "styleguide"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Plugins",
"Intended Audience :: Developers",
"Operating System :: MacOS",
"Operating System :: Unix",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Quality Assurance",
]
[tool.poetry.plugins."flake8.extension"]
NIP = "nitpick.flake8:NitpickExtension"
[tool.poetry.plugins.nitpick]
json = "nitpick.plugins.json"
pre_commit = "nitpick.plugins.pre_commit"
setup_cfg = "nitpick.plugins.setup_cfg"
pyproject_toml = "nitpick.plugins.pyproject_toml"
[tool.poetry.dependencies]
python = "^3.5 || ^3.6 || ^3.7 || ^3.8"
flake8 = ">=3.0.0"
attrs = "*"
toml = "<0.10.1" # TODO: Raises "ValueError: Circular reference", see https://github.com/andreoliwa/nitpick/issues/159
requests = "*"
dictdiffer = "*"
"ruamel.yaml" = "*"
python-slugify = "*"
jmespath = "*"
sortedcontainers = "*"
click = "*"
# Pin marshmallow to avoid error on "pip install -U nitpick":
# marshmallow-polyfield 5.7 has requirement marshmallow>=3.0.0b10, but you'll have marshmallow 2.19.5 which is incompatible.
marshmallow = {version = ">=3.0.0b10"}
# Pin to avoid error on "flake8 ." when there is an invalid TOML style:
# TypeError: _deserialize() got an unexpected keyword argument 'partial'
marshmallow-polyfield = "^5.7"
identify = "*"
"more-itertools" = "*"
pluggy = "*"
pylint = {version = "*", optional = true}
pytest = {version = "*", optional = true}
testfixtures = {version = "*", optional = true}
responses = {version = "*", optional = true}
sphinx = {version = "*", optional = true}
sphinx_rtd_theme = {version = "*", optional = true}
[tool.poetry.extras]
lint = ["pylint"]
test = ["pytest", "testfixtures", "responses"]
doc = ["sphinx", "sphinx_rtd_theme"]
[tool.poetry.dev-dependencies]
ipython = "*"
ipdb = "*"
icecream = "*"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"