-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (88 loc) · 2.19 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[tool.poetry]
name = "concourse-packer-resource"
version = "0.1.0"
description = "A resource for orchestrating Packer builds in Concourse pipelines"
authors = ["MIT Open Learning <odl-devops@mit.edu>"]
license = "BSD-3-Clause"
[tool.poetry.dependencies]
python = "^3.12"
[tool.poetry.group.dev.dependencies]
black = "^24.0.0"
pre-commit = "^3.0.0"
mypy = "^1.0"
ruff = "^0.5.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py312"
line-length = 88
select = [
"A", # flake8-builtins
# "ARG", # flake8-unused-arguments
# "ANN", # flake8-annotations
"B", # flake8-bugbear
# "BLE", # flake8-blind-except
# "C4", # flake8-comprehensions
# "COM", # flake8-commas
"DTZ", # flake8-datetimez
"D", # pydocstyle
"E", # pydocstyle
"ERA", # eradicate
# "EM", # flake8-errmsg
"EXE", # flake8-executable
"F", # flake8
"G", # flake8-logging-format
"ICN", # flake8-import-conventions
# "INP", # flake8-no-pep420
"ISC", # flake8-implicit-str-concat
"N", # pep8-naming
# "PD", # pandas-vet
"PIE", # flake8-pie
# "PGH", # pygrep-hooks [Enable]
# "PT", # flake8-pytest-style [Enable]
"PTH", # flake8-use-pathlib
"PLR", # Refactor
"Q", # flake8-quotes
"RET", # flake8-return
"S", # flake8-bandit
"SIM", # flake8-simplify
"T10", # flake8-debugger
"T20", # flake8-print
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W", # pydocstyle
"YTT", # flake8-2020
"RUF"
]
ignore = [
"B008",
"B905",
"D104",
"D200",
"D202",
"D205",
"D301",
"D400",
"N801",
"N802",
"N803",
"N806",
"N813",
"N815",
"N816",
"PIE804",
"RET504",
"RET505",
"RET506",
"RET507",
"RET508",
"UP007"
]
typing-modules = ["colour.hints"]
fixable = ["I", "D", "B", "E", "F", "UP", "C4", "Q", "RET", "PIE", "SIM","UP", "W", "RUF"]
[tool.ruff.pydocstyle]
convention = "pep257"
[tool.ruff.flake8-quotes]
inline-quotes = "double"