-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
65 lines (56 loc) · 1.27 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "velin"
authors = [{name = "Matthias Bussonnier", email = "[email protected]"}]
classifiers = ["License :: OSI Approved :: MIT License"]
readme = "Readme.md"
license = {file = "LICENSE"}
dynamic = ["version","description"]
requires-python=">=3.8"
dependencies=[
"numpydoc",
"pygments",
"black",
"there"
]
[project.scripts]
velin = "velin:main"
[project.urls]
Home = "https://github.com/Carreau/velin"
[tool.ruff]
builtins = ["ellipsis"]
exclude = [
".git",
".eggs",
"build",
"dist",
"__pycache__",
"docs",
]
target-version = "py310"
extend-include = ["*.ipynb"]
line-length = 100
[tool.ruff.lint]
select = [
"F", # Pyflakes
"E", # Pycodestyle
"I", # isort
"UP", # Pyupgrade
"TID", # tidy imports
]
ignore = [
"E402", # E402: module level import not at top of file
"E501", # E501: line too long - let black worry about that
"E731", # E731: do not assign a lambda expression, use a def
]
fixable = ["I", "TID"]
extend-safe-fixes = [
"TID252", # absolute imports
]
[tool.ruff.lint.isort]
known-first-party = ["velin"]
known-third-party = []
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"