-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
38 lines (31 loc) · 1.03 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
[sepal-ui]
init-notebook = "ui.ipynb"
[project]
version = "0.3.0"
[tool.ruff]
ignore-init-module-imports = true
fix = true
select = ["E", "F", "W", "I", "RUF"]
ignore = [
"E501", # line too long | Black takes care of it
"D101", # Missing docstring in public class | set it in __init__
"E402", # module level import not at top of file
"F405", # name may be undefined, or defined from star imports: specifically for test/ modules
"F403", # unable to detect undefined names | hide internal strcuture: specifically for test/ modules
]
# init file are here to hide the internal structure to the user of the lib
exclude = ["*/__init__.py"]
[tool.ruff.flake8-quotes]
docstring-quotes = "double"
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.per-file-ignores]
"*/__init__.py" = ["F403"] # unable to detect undefined names | hide internal strcuture
[tool.commitizen]
version = "0.3.0"
update_changelog_on_bump = true
changelog_file = "CHANGELOG.md"
changelog_incremental = true
version_files = [
"pyproject.toml:version",
]