-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
84 lines (78 loc) · 1.45 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.urls]
"Repository" = "https://github.com/mite-standard/mite_data"
[project]
name = "mite_data"
version = "1.12"
description = "Data storage and auxiliary functions for mite_data."
readme = "README.md"
requires-python = ">=3.12"
license-files = { paths = ["LICENSE"] }
authors = [
]
dependencies = [
"biopython~=1.84",
"coloredlogs~=15.0",
"mite_extras==1.4.1",
"mite_schema==1.7.1",
"pre-commit~=3.4",
"pydantic~=2.8",
"pytest~=7.4",
"requests~=2.32",
"ruff~=0.5"
]
[project.scripts]
mite_data = "mite_data.main:main"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests/",
]
pythonpath = [
"mite_data"
]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
# flake8-bugbear
"B",
# flake8-comprehensions
"C4",
# flake8-eradicate/eradicate
"ERA",
# isort
"I",
# pep8-naming
"N",
# flake8-pie
"PIE",
# pygrep
"PGH",
# ruff checks
"RUF",
# flake8-simplify
"SIM",
# flake8-type-checking
"TCH",
# flake8-tidy-imports
"TID",
# pyupgrade
"UP",
]
ignore = [
# whitespace-before-punctuation
"E203",
# percent-format-invalid-format
"E501",
# mixed-case-variable-in-class-scope
"N815",
# enumerate
"SIM113",
# multiple ifs
"SIM102"
]