-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
108 lines (98 loc) · 1.85 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
102
103
104
105
106
107
108
[tool.poetry]
name = "jmu-openconnect"
version = "0.4.1"
description = "Wrapper script around openconnect for JMU VPN authentication on Linux."
authors = ["TabulateJarl8 <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://tabulate.tech/"
repository = "https://github.com/TabulateJarl8/jmu-openconnect"
classifiers = [
"Development Status :: 7 - Inactive",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Typing :: Typed",
]
[tool.poetry.dependencies]
python = "^3.10"
selenium = "^4.23.1"
typing-extensions = "^4.12.2"
[tool.poetry.group.dev.dependencies]
ruff = "^0.5.5"
[tool.poetry.scripts]
jmu-openconnect = "jmu_openconnect.main:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pyright]
reportUnusedCallResult = false
[tool.ruff.lint]
preview = true
extend-select = [
# pycodestyle
"E",
"W293",
"W292",
"W605",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# pep8-naming
"N",
# flake8-bandit
"S",
# flake8-boolean-trap
"FBT",
# flake8-comprehensions
"C4",
# flake8-pie
"PIE",
# quote rules
"Q001",
"Q002",
# flake8-raise
"RSE",
# flake8-return
"RET",
# flake8-unused-arguments
"ARG",
# flake8-use-pathlib
"PTH",
# eradicate
"ERA",
# perflint
"PERF",
]
ignore = [
"E501",
"E274",
"S110",
"FBT001",
"FBT002",
"PERF203",
"S101",
"ERA001",
"S603",
"S404",
]
[tool.ruff.format]
quote-style = "single"
indent-style = "tab"
line-ending = "lf"
[tool.ruff.lint.isort]
combine-as-imports = true
force-wrap-aliases = true
order-by-type = true