-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (68 loc) · 1.84 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
[tool.poetry]
name = "time-tracker"
version = "1.3.0"
description = "Track your time with Python and Qt"
authors = ["Andre Wohnsland <[email protected]>"]
license = "MIT"
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = ">=3.10,<3.12"
GitPython = "^3.1.43"
matplotlib = "^3.9.0"
pandas = "^2.2.2"
xlsxwriter = "^3.2.0"
pyqtdarktheme = "^2.1.0"
qtawesome = "^1.3.1"
holidays = "^0.47"
dataclasses-json = "^0.6.4"
pyqt6 = "^6.4.2"
plyer = "^2.1.0"
win10toast = {version = "^0.9", platform = "win32"}
[tool.poetry.group.dev.dependencies]
pyinstaller = "^6.8.0"
pip-chill = "^1.0.3"
jupyterlab = "^4.2.2"
mypy = "^1.10.0"
ruff = "^0.4.8"
pyqt6-tools = "^6.4.2.3.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
per-file-ignores = { "runme.py" = ["E402"] }
select = [
"C", # Convention
"D", # pydocstyle
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"ICN001", # {name} should be imported as {asname},
"R", # Refactor
"RUF", # Ruff
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # Pylint (Warning)
]
ignore = [
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D104", # Missing docstring in public package
"D105", # Missing docstring in magic method
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
]
[tool.mypy]
disable_error_code = ["annotation-unchecked", "import-untyped"]
[tool.pylint]
disable = ["C0301", "C0114", "C0115", "C0116", "R0912"]
max-line-length = 120
extension-pkg-whitelist= ["PyQt5"]
[tool.autopep8]
max-line-length = 120
ignore = ["E402"]