-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (57 loc) · 1.44 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
[build-system]
requires = ["setuptools", "setuptools-scm", "wheel"]
[tool.setuptools_scm]
version_scheme = "post-release"
[project]
name = "parma-mining-reddit"
description = ""
readme = "README.md"
dynamic = ["version"]
authors = [
{ name = "Robin Holzinger", email = "robin.holzinger@tum.de" },
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.11"
[project.urls]
repository = "https://github.com/la-famiglia-jst2324/parma-mining-reddit"
[tool.setuptools.packages.find]
include = ["parma_mining.*"]
namespaces = false
[project.scripts]
[tool.black]
exclude = '''
/(
\.eggs
| \.git
| \.venv
| build
| dist
)/
'''
[tool.ruff]
line-length = 88
select = ["F", "E", "W", "I", "N", "UP", "D", "PL"]
target-version = "py311"
ignore = [
"D107", # disable missing docstring errors for __init__ files
]
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.per-file-ignores]
# "*" = ["D212"] # Multi-line docstrings don't have to start at the first line
"tests/*" = ["D100", "D103", "D104"] # disable missing docstring errors for tests
[tool.ruff.lint.isort]
case-sensitive = true
detect-same-package = true
[tool.mypy]
python_version = '3.11'
ignore_missing_imports = true
no_implicit_optional = true
check_untyped_defs = true
[tool.docformatter]
black = true
[tool.pytest.ini_options]
addopts = "--import-mode=importlib --cov='parma_mining' --cov-report xml --color=yes"