forked from MozillaSecurity/FuzzManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
134 lines (122 loc) · 3.11 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[build-system]
requires = ["setuptools>=64", "setuptools_scm>8"]
build-backend = "setuptools.build_meta"
[project]
name = "WebCompatManager"
requires-python = ">=3.9"
authors = [
{name = "Christian Holler", email = "choller@mozilla.com"},
{name = "Jesse Schwartzentruber", email = "jschwartzentruber@mozilla.com"},
]
description = "A WebCompat management tools collection"
keywords = ["test", "testing"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Testing",
]
license = {text = "MPL 2.0"}
maintainers = [
{name = "Mozilla Fuzzing Team", email = "fuzzing@mozilla.com"},
]
dynamic = ["readme", "version"]
dependencies = [
"jsonpath-ng",
"jsonschema>=4.18.0",
"python-dateutil",
]
[project.optional-dependencies]
dev = ["pre-commit", "tox"]
docker = [
"gunicorn~=22.0.0",
"mozilla-django-oidc~=4.0.1",
"mysqlclient~=2.2.4",
]
server = [
"celery~=5.3.5",
"crispy-bootstrap3",
"django~=4.2.7",
"django-crispy-forms~=2.1",
"django-enumfields~=2.1.1",
"django-notifications-hq~=1.8.3",
"djangorestframework~=3.15.1",
"google-cloud-bigquery",
"pyyaml",
"redis[hiredis]",
"whitenoise~=6.6.0",
]
[project.urls]
Homepage = "https://github.com/MozillaSecurity/WebCompatManager"
Issues = "https://github.com/MozillaSecurity/WebCompatManager/issues"
Repository = "https://github.com/MozillaSecurity/WebCompatManager.git"
[tool.coverage.report]
exclude_lines = [
"@(abc.)?abstract*",
"except ImportError(.*):",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"pragma: no cover",
]
[tool.coverage.run]
omit = [
"*/dist/*",
"*/tests/*",
"*/.tox/*",
"*/.eggs/*",
]
[tool.pytest.ini_options]
log_level = "DEBUG"
DJANGO_SETTINGS_MODULE = "server.settings_test"
pythonpath = [".", "server"]
addopts = ["-v", "--cov=.", "--cov-report", "term-missing"]
filterwarnings = [
'ignore:"@coroutine" decorator:DeprecationWarning:aiohttp',
'ignore:You passed a bytestring:DeprecationWarning:flake8.options.config',
"ignore:Using or importing the ABCs from 'collections':DeprecationWarning:celery.canvas",
"ignore:Using or importing the ABCs from 'collections':DeprecationWarning:yaml",
]
norecursedirs = [
".*",
"build",
"dist",
]
[tool.ruff]
fix = true
target-version = "py39"
[tool.ruff.lint]
select = [
# flake8-comprehensions
"C4",
# pycodestyle
"E",
# Pyflakes
"F",
# Flynt
"FLY",
# isort
"I",
# Perflint
"PERF",
# Ruff-specific rules
"RUF",
# flake8-simplify
"SIM",
# flake8-type-checking
"TCH",
# pyupgrade
"UP",
# pycodestyle
"W",
]
ignore = ["SIM117"]
[tool.ruff.lint.isort]
known-first-party = ["reportmanager"]
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["webcompat", "webcompat.schemas"]
[tool.setuptools_scm]