-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
81 lines (68 loc) · 1.86 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
[project]
name = "update-netrc"
description = "A simple command line utility to update netrc credentials"
requires-python = ">=3.8"
license = {text = "MIT"}
readme = "README.md"
authors = [{name = "Maerteijn", email = "[email protected]"}]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Systems Administration"
]
dynamic = ["version"]
[project.urls]
"Repository" = "https://github.com/maerteijn/update-netrc"
[project.scripts]
"update-netrc" = "update_netrc.cli:main"
[tool.setuptools_scm]
[tool.setuptools.packages.find]
where = ["src"]
[project.optional-dependencies]
dev = [
"pip-tools~=7.3",
"ruff~=0.0.291",
"black~=23.9",
"pytest~=7.4",
"pytest-cov~=4.0",
"mypy~=1.5",
"twine~=4.0",
]
dist = [
"build~=1.0"
]
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 88
extend-select = ["W", "I001", "Q"]
ignore = ["E203", "E231", "E266", "E501", "F405"]
[tool.black]
line-length = 88
[tool.pytest.ini_options]
testpaths = "tests/"
[tool.coverage.run]
omit = ["**/tests/**"]
[tool.coverage.report]
show_missing = true
[tool.mypy]
exclude = ["tests/*"]
# see https://careers.wolt.com/en/blog/tech/professional-grade-mypy-configuration
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
warn_unused_ignores = true
show_error_codes = true
[tool.pylsp-mypy]
exclude = ["tests/*"]