This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
97 lines (81 loc) · 1.94 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
[project]
name = "fx-crash-sig"
description = "DEPRECATED: Get crash signature from Firefox crash ping"
version = "1.0.3"
readme = "README.md"
license = {text = "MPLv2"}
requires-python = ">=3.8"
dependencies = [
"requests",
"siggen",
"importlib_metadata",
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python :: 3 :: Only",
"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",
"Development Status :: 2 - Pre-Alpha",
]
urls.Homepage = "https://github.com/mozilla-services/fx-crash-sig/"
urls.Source = "https://github.com/mozilla-services/fx-crash-sig/"
urls.Issues = "https://github.com/mozilla-services/fx-crash-sig/issues"
[project.scripts]
fx-crash-sig = "fx_crash_sig.cmd_get_crash_sig:cmdline"
[project.optional-dependencies]
dev = [
"build",
"check-manifest",
"pytest",
"ruff",
"tox",
"tox-gh-actions",
"twine",
"wheel",
]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.ruff]
target-version = "py38"
src = ["src"]
line-length = 88
[tool.ruff.lint]
# Enable pycodestyle (E), pyflakes (F), and bugbear (B) rules
select = ["E", "F", "B"]
ignore = ["E501"]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
[tool.pytest.ini_options]
filterwarnings = ["error"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist =
py38
py38-lint
py39
py310
py311
py312
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
extras = dev
commands = pytest {posargs} tests/
[testenv:py38-lint]
basepython = python3.8
changedir = {toxinidir}
commands =
ruff format --check fx_crash_sig tests
ruff check fx_crash_sig tests
"""