-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (52 loc) · 1.26 KB
/
pyproject.toml
File metadata and controls
56 lines (52 loc) · 1.26 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
46
47
48
49
50
51
52
53
54
55
56
[project]
name = "adventofcode"
version = "0.1.0"
description = ""
authors = [
{ email = "contact@codexus.fr", name = "Yohann MARTIN" }
]
license = "MIT"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"mypy",
"ruff",
"shapely",
"types-shapely",
]
[tool.mypy]
strict = true
[tool.ruff]
indent-width = 4
target-version = "py313"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade,
"N", # pep8-naming
"S", # flake8-bandit
"ASYNC", # flake8-async
"DTZ", # flake8-datetimez
"PTH", # flake8-use-pathlib
"RUF", # Ruff-specific rules
]
ignore = [
"E501", # line too long, handled by ruff
"B008", # do not perform function calls in argument defaults
"W191", # indentation contains tabs
"B904", # Opinionated warning on exception chaining
"S101", # Asserts
"C901", # Too complex
"E741", # Ambiguous variable name
"S324", # md5
"S105", # hardcoded-password-string
]
[tool.ruff.format]
line-ending = "lf"
quote-style = "double"
indent-style = "space"