-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (76 loc) · 1.8 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (76 loc) · 1.8 KB
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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "brukerapi"
version = "0.4.6"
description = "Bruker API"
authors = [
{ name = "Tomas Psorn", email = "tomaspsorn@isibrno.cz" },
{ name = "Jiri Vitous", email = "vitous@isibrno.cz" },
]
maintainers = [{ name = "Jiri Vitous", email = "vitous@isibrno.cz" }]
license = { text = "MIT" }
readme = "README.rst"
requires-python = ">=3.10"
dependencies = [
"numpy>=2.1; python_version>='3.10'",
"pyyaml",
]
urls = { "Homepage" = "https://github.com/isi-nmr/brukerapi-python", "Download" = "https://github.com/isi-nmr/brukerapi-python/releases/latest" }
[project.scripts]
bruker = "brukerapi.cli:main"
[tool.setuptools]
packages = ["brukerapi", "brukerapi.config"]
include-package-data = true
zip-safe = false
[project.optional-dependencies]
dev = ["pytest", "zenodo_get", "ruff==0.16.0", "pytest-cov","pyrefly"]
[tool.ruff.lint]
select = [
"E",
"W", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
"PERF", # Perflint
"C4", # Flake8 comprehensions
"RET", # Flake8 return
"FBT", # Flake8 boolean simplifications
"LOG", # Flake8 logging
"PL", # Flake8 pylint
"B9", # Bugbear additional checks
"TC",
"RUF",
"PT",
"FLY",
"NPY",
]
ignore = [
"PLR2004",
"PLR0915",
"PLR0913",
"PLR0912",
"PLR0911",
"PLC0415",
"RUF005",
"SIM108",
"RET504",
"RUF012",
"PERF401",
"B905",
]
[tool.ruff]
required-version = "==0.16.0"
line-length = 180
target-version = "py313"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
[tool.pyrefly]
project-includes = [
"brukerapi/**/*.py",
]