-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
27 lines (23 loc) · 735 Bytes
/
pyproject.toml
File metadata and controls
27 lines (23 loc) · 735 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
[project]
name = "python-template"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"gputil>=1.4.0",
"pre-commit>=4.2.0",
"psutil>=7.0.0",
"ruff>=0.11.8",
]
[tool.ruff]
line-length = 79 # Line length for formatting
target-version = "py311" # Target Python version
[tool.ruff.lint]
select = ["E", "F", "I", "B"]
fixable = ["ALL"] # Allow automatic fixes for all fixable issues
ignore = [] # Example of ignoring specific rules
# Any lint rule can be ignored by adding a "# noqa" comment to the line in question
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 79