-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (51 loc) · 1.43 KB
/
pyproject.toml
File metadata and controls
65 lines (51 loc) · 1.43 KB
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 = "python-project-development"
version = "0.1.0"
description = "How I do Python project development"
authors = ["Bruno Lucattelli <lucattelli@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
httpx = "^0.27.2"
[tool.poetry.group.dev.dependencies]
pylint = "^3.2.7"
mypy = "^1.11.2"
black = "^24.8.0"
isort = "^5.13.2"
pytest = "^8.3.2"
pylint-pydantic = "^0.3.2"
pytest-asyncio = "^0.24.0"
pkginfo = "^1.11.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# BLACK - https://black.readthedocs.io/en/stable/usage_and_configuration
[tool.black]
line-length = 120
target-version = ["py311"]
quiet = "True"
# ISORT - https://pycqa.github.io/isort/docs/configuration/options.html
[tool.isort]
profile = "black"
py_version = "311"
skip_gitignore = "True"
line_length = 120
multi_line_output = 3
include_trailing_comma = "True"
sections = ['FUTURE', 'STDLIB', 'THIRDPARTY', 'FIRSTPARTY', 'LOCALFOLDER']
known_third_party = ['ddtrace']
src_paths = ["packages/*/*"]
# MYPY
[tool.mypy]
strict = "True"
plugins = "pydantic.mypy"
ignore_errors = "False"
exclude = ['.venv']
disallow_untyped_defs = "True"
# PYLINT
[tool.pylint.'MAIN']
init-hook = "import sys; import os; sys.path.append(os.getcwd());"
[tool.pylint.'FORMAT']
max-line-length = 120
[tool.pylint.'MESSAGES CONTROL']
disable = ['missing-module-docstring', 'missing-class-docstring', 'missing-function-docstring']