-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
113 lines (102 loc) · 2.98 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
[project]
name = "harfile"
version = "0.3.0"
description = "Writer for HTTP Archive (HAR) files"
keywords = ["har", "http", "testing"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Testing",
]
authors = [{ name = "Dmitry Dygalo", email = "[email protected]" }]
maintainers = [{ name = "Dmitry Dygalo", email = "[email protected]" }]
readme = "README.md"
license = "MIT"
include = ["src/harfile/py.typed"]
requires-python = ">=3.8"
[project.optional-dependencies]
tests = [
"coverage>=7",
"hypothesis>=6",
"hypothesis-jsonschema>=0.23.1",
"jsonschema>=4.18.0",
"pytest>=6.2.0,<8",
]
cov = [
"coverage-enable-subprocess",
"coverage[toml]>=7",
]
bench = [
"pytest-codspeed==2.2.1",
]
dev = ["harfile[tests,cov,bench]"]
[project.urls]
Changelog = "https://github.com/schemathesis/harfile/blob/main/CHANGELOG.md"
"Bug Tracker" = "https://github.com/schemathesis/harfile"
Funding = "https://github.com/sponsors/Stranger6667"
"Source Code" = "https://github.com/schemathesis/harfile"
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/tests",
]
[tool.coverage.run]
parallel = true
branch = true
source_pkgs = ["harfile"]
[tool.coverage.paths]
source = ["src", ".tox/*/site-packages"]
[tool.coverage.report]
show_missing = true
skip_covered = true
precision = 2
exclude_lines = [
"raise NotImplementedError",
"if TYPE_CHECKING:",
"pass"
]
[tool.ruff]
line-length = 120
target-version = "py38"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"C", # flake8-comprehensions
"B", # flake8-bugbear
"D", # pydocstyle
]
ignore = [
"E501", # Line too long
"B008", # Do not perform function calls in argument defaults
"C901", # Too complex
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D104", # Missing docstring in public package
"D105", # Missing docstring in magic method
"D107", # Missing docstring in `__init__`
"D203", # One blank line before class
"D213", # Multiline summary second line
"D401", # Imperative mood
]
[tool.ruff.format]
skip-magic-trailing-comma = false
[tool.ruff.lint.isort]
known-first-party = ["harfile"]
known-third-party = ["hypothesis", "hypothesis-jsonschema", "pytest"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"