-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
47 lines (41 loc) · 1.2 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
[tool.pyright]
# include = ["retinal_rl*"]
typeCheckingMode = "strict"
reportMissingTypeStubs = "warning"
reportUnknownVariableType = "warning"
reportUnknownMemberType = "warning"
reportUnknownArgumentType = "warning"
[tool.ruff]
output-format="concise"
exclude = ["node_modules", "__pycache__"]
lint.select = [
"F", # Pyflakes
"E", # PEP8
"W", # PEP8
"C90", # McCabe
"D", # Pydocstyle
"R", # Ruff-specific
"N", # Naming
"I", # Import conventions
"SIM", # flake8-simplify
"UP", # pyupgrade
"RUF", # ruff-specific rules
"ARG", # flake8-unused-arguments
"TRY", # tryceratops
"PLR0402", # import a.b as b -> from a import b
]
lint.ignore = [
"E501", # Example: Ignore line length warnings
"D", # Ignore all docstring-related warnings
"ARG002",# Ignore unused-argument in method > problematic eg when required by parent class / interface
"TRY003",# Allow to write exception messages in place instead of subclassing
"RUF001",# Allow confusable characters (eg σ)
]
[tool.ruff.format]
docstring-code-format = true
[tool.setuptools]
[project]
name = "retinal_rl"
version="0.0.1"
[tool.setuptools.packages.find]
include =["retinal_rl*"]