-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (61 loc) · 1.63 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
66
67
68
69
70
[tool.poetry]
name = "l-system"
version = "0.1.0"
description = "An Lindenmayer's L-system implementation for educational purposes."
authors = ["Evan Stromatias <[email protected]>"]
maintainers = ["Evan Stromatias <[email protected]>"]
license = "MIT"
readme = "README.md"
keywords = ["l-system", "Lindenmayer"]
[tool.poetry.dependencies]
python = "^3.12"
tqdm = "^4.66.2"
pillow = "^10.2.0"
[tool.poetry.group.dev.dependencies]
black = "==24.3.0"
ruff = "==0.3.3"
pytest = "^8.1.1"
flake8 = "^7.0.0"
ipython = "^8.22.2"
mkdocs = "^1.5.3"
mkdocs-material = "^9.5.14"
mkdocstrings-python = "^1.9.0"
mkdocs-gen-files = "^0.5.0"
mkdocs-literate-nav = "^0.6.1"
mkdocs-section-index = "^0.3.8"
pre-commit = "^3.6.2"
pytest-cov = "^4.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
line_length = 120
profile = "black"
[tool.black]
skip-string-normalization = true
line-length = 120
[tool.ruff]
# Same as Black.
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors (settings from FastAPI, thanks, @tiangolo!)
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"C901", # too complex
]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
[tool.ruff.isort]
order-by-type = true
relative-imports-order = "closest-to-furthest"
extra-standard-library = ["typing"]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
known-first-party = []