-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (81 loc) · 2.6 KB
/
pyproject.toml
File metadata and controls
93 lines (81 loc) · 2.6 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "issue_reporter"
version = "0.1.2"
description = "Simple interface for quickly reporting issues with a GUI and Mailgun out the back"
authors = [
{name = "Christopher Toth", email = "q@q-continuum.net"}
]
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.8.6"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"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",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"i18n_core>=0.3.9",
"sysinfo @ git+https://github.com/AccessibleApps/sysinfo.git",
"mailgun_api @ git+https://github.com/AccessibleApps/mailgun_api.git",
"wx_utils @ git+https://github.com/AccessibleApps/wx_utils.git",
"gui_builder @ git+https://github.com/AccessibleApps/gui_builder.git",
]
[project.urls]
Homepage = "https://github.com/AccessibleApps/issue_reporter"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["issue_reporter"]
[tool.hatch.build.targets.wheel.force-include]
"issue_reporter/locale" = "issue_reporter/locale"
[dependency-groups]
dev = [
"ruff>=0.14.0",
"pyright>=1.1.0",
]
[tool.ruff]
line-length = 120
target-version = "py38"
exclude = ["build", "dist", ".venv"]
[tool.ruff.lint.flake8-builtins]
builtins-allowed-modules = ["i18n_core"]
builtins-ignorelist = ["__"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["issue_reporter"]
[tool.ruff.lint.per-file-ignores]
# i18n_core installs __ as a builtin via install_module_translation
"**/gui.py" = ["F821"]
# __builtins__.pyi defines __ function for type checking (intentional dunder naming)
"__builtins__.pyi" = ["N807"]
[tool.pyright]
include = ["issue_reporter"]
exclude = ["**/__pycache__", "build"]
pythonVersion = "3.8"
typeCheckingMode = "basic"
reportMissingImports = "warning"
reportUnknownMemberType = false
reportUnknownArgumentType = false
reportUnknownVariableType = false