-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
88 lines (78 loc) · 1.8 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
[tool.poetry]
name = "auto_registrar"
version = "0.8.1"
description = "A CLI script to check/register courses from KFUPM Banner 9."
license = "GPL-3.0-or-later"
authors = ["Yokozuna59 <[email protected]>"]
maintainers = ["Yokozuna59 <[email protected]>"]
readme = "README.md"
repository = "https://github.com/Yokozuna59/auto-registrar"
keywords = ["cli"]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3.10",
]
[tool.poetry.dependencies]
asyncio = "^3.4.3"
beautifulsoup4 = "^4.11.1"
cryptography = "^39.0.2"
distro = "^1.8.0"
nest-asyncio = "^1.5.6"
pathlib = "^1.0.1"
playsound = "^1.3.0"
psutil = "^5.9.4"
python = "^3.10"
requests = "^2.28.2"
virtualenv = "^20.17.1"
[tool.poetry.dev-dependencies]
black = "^23.1.0"
docformatter = "^1.5.1"
flake8 = "^6.0.0"
isort = "^5.11.4"
mypy = "^0.991"
pre-commit = "^3.2.0"
pycln = "^2.1.2"
# pylint = "^2.15.5"
pyupgrade = "^3.3.1"
yamllint = "^1.29.0"
[tool.black]
exclude = '(\.git|\.mypy_cache|\.venv|__pycache__)'
line-length = 80
safe = true
target-version = ['py310', 'py311']
[tool.docformatter]
blank = false
recursive = true
wrap-descriptions = 80
wrap-summaries = 80
[tool.flake8]
exclude = [
".git",
"__pycache__",
".venv",
]
extend-ignore = ["E203", "W503"]
max-doc-length = 80
max-line-length = 80
[tool.isort]
indent = " "
line_length = 80
profile = "black"
py_version = 310
skip_gitignore = true
[tool.mypy]
check_untyped_defs = true
disallow_untyped_defs = true
ignore_missing_imports = true
no_implicit_optional = true
python_version = "3.10"
show_error_codes = true
warn_return_any = true
warn_unused_ignores = true
[tool.pycln]
all = true
[tool.pylint.main]
disable = ["C0114"]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]