-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (38 loc) · 1.18 KB
/
Copy pathpyproject.toml
File metadata and controls
46 lines (38 loc) · 1.18 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
[project]
name = "learn-python"
version = "1.5.6"
description = "Learn to use Python"
authors = [{ name = "Sasha Bondarev", email = "no@email.com" }]
requires-python = ">=3.14"
readme = "README.md"
license = "MIT"
dependencies = [
"matplotlib>=3.11.0",
"numpy>=2.5.0",
"pytest==9.1.1",
]
[dependency-groups]
dev = [
"ruff>=0.15.20",
]
[tool.ruff]
line-length = 90
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN", # We should not force typing
"D", # docstrings are overrated
"F811", # Ruff thinks that pytest fixtures are not used
"FA100", "FA102", # We should not aim to support python < 3.10
"FIX002", # Keeping To Do in code
"ISC002", # I don't find it that important
"N805", # Sounds good check but when I need `cls` it fails
"N815", # Not convinient if using pydantic or other sort of code where the actual typing matters
"PYI025", # IMHO this would cause type hints to be longer and less readable
"S101", # Assers are needed
"TCH001", # Not sure which is the fix for @dataclass
"T201", # allow printing
"PLR2004", # simplify alorithms
"ISC001", "COM812", # fix default ruff warning
"INP001", # Ignore missing `__init__.py` files
]