-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
127 lines (113 loc) · 2.68 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
[tool.poetry]
name = "rcx-tk"
version = "0.1.0"
description = "This package adjusts and cleans the metadata file provided by a user."
authors = ["Zargham Ahmad <zargham.ahmad@recetox.muni.cz>" , "Kristina Gomoryova <kristina.gomoryova@recetox.muni.cz>"]
license = "MIT"
readme = "README.md"
keywords = ["metadata", "alkanes", "metabolomics"]
[tool.poetry.dependencies]
python = "^3.11"
pandas = "^2.2.2"
pyxlsx = "^1.1.3"
pandas-stubs = "^2.2.2.240603"
mypy = "^1.10.1"
click = "^8.1.7"
[tool.poetry.group.dev.dependencies]
build = "^1.2.1"
bump-my-version = "^0.23.0"
coverage = "^7.5.3"
pytest = "^8.2.2"
pytest-cov = "^5.0.0"
ruff = "^0.4.9"
tox = "^4.15.1"
myst-parser = "^3.0.1"
twine = "^5.1.0"
wheel = "^0.43.0"
sphinx = "^7.3.7"
sphinx-autoapi = "^3.1.1"
sphinx-rtd-theme = "^2.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py311,py312
skip_missing_interpreters = true
[testenv]
commands = pytest
extras = dev
"""
[tool.ruff]
line-length = 120
# Enable Pyflakes `E` and `F` codes by default.
lint.select = [
"F", # Pyflakes
"E", # pycodestyle (error)
"W", # pycodestyle (warning)
# "C90", # mccabe
"I", # isort
"D", # pydocstyle
# "PL", # Pylint
# "PLC", # Convention
# "PLE", # Error
# "PLR", # Refactor
# "PLW", # Warning
]
lint.ignore = [
'D100', # Missing module docstring
'D104', # Missing public package docstring
# The following list excludes rules irrelevant to the Google style
'D203',
'D204',
'D213',
'D215',
'D400',
'D401',
'D404',
'D406',
'D407',
'D408',
'D409',
'D413',
]
# Allow autofix for all enabled rules (when `--fix`) is provided.
lint.fixable = ["A", "B", "C", "D", "E", "F", "I"]
lint.unfixable = []
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
".venv",
"scripts",
]
lint.per-file-ignores = {}
# Allow unused variables when underscore-prefixed.
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.isort]
known-first-party = ["rcx_tk"]
force-single-line = true
no-lines-before = ["future","standard-library","third-party","first-party","local-folder"]
[tool.poetry.scripts]
rcx_tk = "rcx_tk.__main__:main"
[tool.poetry_bumpversion.file."src/rcx_tk/__init__.py"]
[tool.poetry_bumpversion.file."CITATION.cff"]
[tool.poetry_bumpversion.file."docs/conf.py"]
[tool.poetry_bumpversion.file."pyproject.toml"]