-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
114 lines (101 loc) · 2.77 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
109
110
111
112
113
114
[tool.ruff]
# Increase the line length. This breaks PEP8 but it is way easier to work with.
# The original reason for this limit was a standard vim terminal is only 79 characters,
# but this doesn't really apply anymore.
line-length = 119
# Target Python 3.12. If you decide to use a different version of Python
# you will need to update this value.
target-version = "py312"
# Automatically fix auto-fixable issues.
fix = true
# The directory containing the source code. If you choose a different project layout
# you will need to update this value.
src = ["mullvad"]
[tool.ruff.lint]
# Enable all linting rules.
select = ["ALL"]
# Ignore some of the most obnoxious linting errors.
ignore = [
# Missing docstrings.
"D100",
"D104",
"D105",
"D106",
"D107",
# Docstring whitespace.
"D203",
"D213",
# Docstring punctuation.
"D415",
# Docstring quotes.
"D301",
# Builtins.
"A",
# Print statements.
"T20",
# TODOs.
"TD002",
"TD003",
"FIX",
# Annotations.
"ANN101",
"ANN102",
# Additional codes.
"COM812", # missing-trailing-comma
"COM819", # prohibited-trailing-comma
"D206", # indent-with-spaces
"D300", # triple-single-quotes
"E111", # indentation-with-invalid-multiple
"E114", # indentation-with-invalid-multiple-comment
"E117", # over-indented
"E501", # line-too-long
"INP001", # implicit-namespace-package
"ISC001", # single-line-implicit-string-concatenation
"ISC002", # multi-line-implicit-string-concatenation
"Q000", # bad-quotes-inline-string
"Q001", # bad-quotes-multiline-string
"Q002", # bad-quotes-docstring
"Q003", # avoidable-escaped-quote
"W191", # tab-indentation
"S605", # dont open a new shell
"N815", # mixedCase Error
"PT009", # assertTrue
"PT027", # assertRaises
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mullvad"
version = "0.1.3"
authors = [
{ name="theheretic_", email="[email protected]" },
]
description = "A package for interacting with the mullvad cli api"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
]
[project.urls]
Homepage = "https://github.com/DannyTheHeretic/mullvad_cli_api"
Issues = "https://github.com/DannyTheHeretic/mullvad_cli_api/issues"
[tool.hatch.build.targets.sdist]
ignore-vcs = true
include = [
"mullvad/*.py",
]
exclude = [
"*/__pycache__/*",
"*.json",
"pkg/_compat.py",
]
[tool.hatch.build.targets.wheel]
packages = ["mullvad"]
artifacts = [
"*.so",
"*.dll",
]