-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
45 lines (40 loc) · 1.09 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
[project]
name = "knom"
requires-python = ">=3.10"
version = "0.0.1"
dependencies = [
"rdflib"
]
[project.optional-dependencies]
test = [
"pytest",
"rdflib-canon @ git+https://github.com/eyusupov/rdflib-canon"
]
[tool.pytest.ini_options]
filterwarnings = [
"ignore:pkg_resources is deprecated as an API.:DeprecationWarning", # RDFlib
"ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning" # RDFlib
]
[tool.flake8]
per-file-ignores = "tests: S101"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN101", # type annotations for self method
# ignore asserts warnings
"S101",
"B011",
# ignore docstrings. TODO: remove and document
"D100",
"D103",
"D104",
# fix ruff warnings
"D211", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible.
"D213", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible.
# conflict with ruff formatter, recommended to disable
"COM812",
"ISC001"
]
[[tool.mypy.overrides]]
module = ["pygraphviz", "pytest"]
ignore_missing_imports = true