-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (60 loc) · 1.61 KB
/
pyproject.toml
File metadata and controls
63 lines (60 loc) · 1.61 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
57
58
59
60
61
62
63
[project]
# This section contains metadata about your project.
# Don't forget to change the name, description, and authors to match your project!
name = "code-jam-template"
description = "Add your description here"
authors = [
{ name = "Your Name" }
]
version = "0.1.0"
readme = "README.md"
requires-python = ">=3.12"
dependencies = []
[dependency-groups]
# This `dev` group contains all the development requirements for our linting toolchain.
# Don't forget to pin your dependencies!
# This list will have to be migrated if you wish to use another dependency manager.
dev = [
"pre-commit~=4.2.0",
"ruff~=0.12.2",
]
[tool.ruff]
# Increase the line length. This breaks PEP8 but it is way easier to work with.
# The original reason for this limit was a standard vim terminal is only 79 characters,
# but this doesn't really apply anymore.
line-length = 119
# Target Python 3.12. If you decide to use a different version of Python
# you will need to update this value.
target-version = "py312"
# Automatically fix auto-fixable issues.
fix = true
# The directory containing the source code. If you choose a different project layout
# you will need to update this value.
src = ["src"]
[tool.ruff.lint]
# Enable all linting rules.
select = ["ALL"]
# Ignore some of the most obnoxious linting errors.
ignore = [
# Missing docstrings.
"D100",
"D104",
"D105",
"D106",
"D107",
# Docstring whitespace.
"D203",
"D213",
# Docstring punctuation.
"D415",
# Docstring quotes.
"D301",
# Builtins.
"A",
# Print statements.
"T20",
# TODOs.
"TD002",
"TD003",
"FIX",
]