-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
100 lines (89 loc) · 2.65 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "appimage"
dynamic = ["version", "dependencies"]
authors = [
{name = "SSH-MITM Dev-Team", email = "[email protected]"}
]
maintainers = [
{name = "Manfred Kaiser", email = "[email protected]"}
]
description = "AppImage start script to convert the python application in full python environment"
readme = "README.md"
license = {file = "LICENSE"}
keywords = [
"appimage",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Topic :: System :: Networking",
"Development Status :: 5 - Production/Stable",
]
requires-python = ">= 3.8"
[project.urls]
Homepage = "https://www.ssh-mitm.at"
Documentation = "https://appimage.ssh-mitm.at"
Changelog = "https://github.com/ssh-mitm/appimage/blob/master/CHANGELOG.md"
Source = "https://github.com/ssh-mitm/appimage"
Tracker = "https://github.com/ssh-mitm/appimage/issues"
[tool.hatch.version]
path = "appimage/__init__.py"
[tool.hatch.build]
include = [
"appimage/**/*.py",
]
[tool.hatch.envs.lint]
detached = false
dependencies = [
"bandit",
"black",
"flake8",
"Flake8-pyproject",
"mypy",
"pylint",
"ruff",
]
[tool.hatch.envs.lint.scripts]
check = [
"bandit -r appimage",
"black --check appimage",
"flake8 appimage",
"pylint appimage",
"ruff check appimage",
"mypy appimage",
]
[tool.flake8]
ignore = ["E203", "E501", "W503"]
[tool.mypy]
strict = true
install_types = true
non_interactive = true
[tool.pylint]
disable = [
"line-too-long",
]
[tool.pylint.MASTER]
load-plugins = "pylint.extensions.docparams"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN101", # Missing type annotation for `self` in method
"D203", # one-blank-line-before-class
"D213", # multi-line-summary-second-line
"E501", # Line too long
"FA100", # Missing from __future__ import annotations
"PTH100", # `os.path.abspath()` should be replaced by `Path.resolve()`
"PTH107", # `os.remove()` should be replaced by `Path.unlink()`
"PTH113", # `os.path.isfile()` should be replaced by `Path.is_file()`
"PTH114", # `os.path.islink()` should be replaced by `Path.is_symlink()`
"PTH118", # `os.path.join()` should be replaced by `Path` with `/` operator
"PTH119", # `os.path.basename()` should be replaced by `Path.name`
"PTH120", # `os.path.dirname()` should be replaced by `Path.parent`
]