-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (48 loc) · 1.52 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
[tool.poetry]
name = "template"
version = "0.1.0"
description = "template"
authors = ["aurelienc <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
loguru = "^0"
[tool.poetry.dev-dependencies]
bandit = "*" # security practices https://github.com/PyCQA/bandit
black = ">=22.3.0" # automatic linter https://github.com/psf/black
coverage = "*" # unit and bdd tests code coverage
isort = "*" # sort imports https://github.com/timothycrosley/isort
mypy = "*" # static type checker https://github.com/python/mypy
pylint = "*" # code analysis https://www.pylint.org/
pytest = "*" # unit tests https://docs.pytest.org/en/latest/
pytest-cov = "*" # unit tests coverage
ruff = "^0.0.257" # fastr python linter https://github.com/charliermarsh/ruff
safety = "*" # check for package vulnerabilities https://github.com/pyupio/safety
[tool.ruff]
line-length = 100
exclude = ["src/tests/bdd/steps"]
select = [
# pycodestyle
"E",
"W",
# Pyflakes
"F",
# flake8-comprehensions
"C4",
# isort
# "I001",
# flake8-simplify
"SIM",
# flake8-tidy-imports
"TID",
# flake8-quotes
"Q",
# pyupgrade
"UP",
# flake8-pytest-style
"PT",
]
extend-ignore = ["UP006", "UP007"]
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"