-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
101 lines (89 loc) · 1.71 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = [
'setuptools==68.1.2',
]
build-backend = 'setuptools.build_meta'
[project]
name = 'student_journal'
version = '1.0.0'
description = 'Student journal project'
readme = 'README.md'
requires-python = '>=3.11'
dependencies = [
'adaptix==3.0.0b8',
'PyQt6==6.7.1',
'dishka==1.4.0',
'tomli-w==1.1.0',
'faker==33.1.0',
]
[project.optional-dependencies]
test = [
'pytest==8.3.3',
]
lint = [
'pre-commit==3.8.0',
'ruff==0.8.0',
'mypy==1.13.0',
]
ci = [
'mypy==1.13.0',
'pytest==8.3.3',
'ruff==0.8.0',
]
build = [
'pyinstaller==6.11.1',
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools]
include-package-data = true
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = "ignore::DeprecationWarning"
[tool.mypy]
strict = true
warn_unreachable = true
show_column_numbers = true
show_error_context = true
check_untyped_defs = true
ignore_missing_imports = false
warn_no_return = true
disallow_untyped_calls = false
files = ["src/"]
exclude = ["src/student_journal/presentation/ui/.*\\.py"]
[tool.ruff]
line-length = 88
include = ["pyproject.toml", "src/**/*.py", "tests/**/*.py"]
exclude = ["src/student_journal/presentation/ui/**/*.py"]
[tool.ruff.lint]
select = ['ALL']
ignore = [
# Strange and obscure
'D100',
'D104',
'D101',
'D102',
'RET504',
'D103',
'PLR0913',
'S101',
'EM101',
'TRY003',
'D107',
'ARG002',
'RUF001',
'TC003',
'PLR0912',
'C901',
# Not applicable for now
'N802',
'PGH003',
# Does not work correctly
'TC002',
'TC001',
]
[[project.authors]]
name = 'lubaskinc0de'
email = '[email protected]'
[project.scripts]
student_journal = "student_journal.bootstrap.cli:main"