generated from maehr/github-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (39 loc) · 866 Bytes
/
pyproject.toml
File metadata and controls
44 lines (39 loc) · 866 Bytes
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
[project]
name = "REPO_NAME"
version = "0.1.0"
description = "SHORT_DESCRIPTION"
authors = [{ name = "FULLNAME", email = "[INSERT CONTACT METHOD]" }]
readme = "README.md"
requires-python = ">=3.11"
dependencies = []
[dependency-groups]
dev = [
"jupyter>=1.1.1",
"papermill>=2.6.0",
"pytest>=8.0.0",
"ruff>=0.14.0",
"ty>=0.0.1a22",
]
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long, handled by formatter
]
[tool.ruff.lint.isort]
known-first-party = ["REPO_NAME"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"