-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
75 lines (58 loc) · 1.83 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "req2flatpak"
version = "0.2.0"
description = "Generates a flatpak-builder build module for installing python packages defined in requirements.txt files."
authors = ["johannesjh <[email protected]>"]
license = "MIT"
readme = ["README.rst", "docs/source/changelog.rst"]
[tool.poetry.scripts]
req2flatpak = 'req2flatpak:main'
[tool.poetry.dependencies]
python = ">=3.8"
packaging = { version = "^21.3" }
pyyaml = { version = "^6.0.1", optional = true }
[tool.poetry.extras]
yaml = ["pyyaml"]
[tool.poetry.group.lint.dependencies]
pylama = { extras = [
"mypy",
"pylint",
"eradicate",
"toml",
], version = "^8.4.1" }
bandit = { extras = ["toml"], version = "^1.7.5" }
# type stubs for mypy linting
types-setuptools = "^65.5.0.2"
types-pyyaml = "^6.0.12.8"
# [tool.poetry.group.tests.dependencies]
pydocstyle = "<6.2"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "^6.2.1"
sphinx-argparse = "^0.4.0"
sphinx-rtd-theme = "^2.0.0"
sphinx-rtd-theme-github-versions = "^1.1"
[tool.isort]
profile = "black"
skip_gitignore = true
[tool.pylama]
max_line_length = 88
concurrent = true
linters = "pycodestyle,pydocstyle,pyflakes,pylint,eradicate,mypy"
[tool.pylama.linter.pycodestyle]
ignore = "W503,E203,E501"
# [tool.pycodestyle] -> see setup.cfg
[tool.pylama.linter.pydocstyle]
ignore = "D202,D203,D205,D401,D212"
[tool.pydocstyle]
ignore = ["D202", "D203", "D205", "D401", "D212"]
[tool.pylint]
format.max-line-length = 88
main.disable = ["C0301"] # ignore line-too-long
basic.good-names = ["e", "f", "py"]
[tool.bandit]
exclude_dirs = ['tests']