generated from BurnySc2/monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (48 loc) · 1.17 KB
/
pyproject.toml
File metadata and controls
53 lines (48 loc) · 1.17 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
[project]
name = "src"
version = "0.1.0"
requires-python = ">=3.8, <3.14"
dependencies = [
"arrow>=1.3.0",
"dpath>=2.2.0",
"httpx>=0.28.0",
"loguru>=0.7.2",
]
[dependency-groups]
dev = [
"pyrefly>=0.41.2",
"ruff>=0.8.2",
]
[tool.yapf]
based_on_style = "pep8"
column_limit = 120
split_arguments_when_comma_terminated = true
dedent_closing_brackets = true
allow_split_before_dict_value = false
[tool.pyrefly]
project_includes = ["src"]
[tool.ruff]
target-version = 'py310'
line-length = 120
[tool.ruff.lint]
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
select = [
"C4", # flake8-comprehensions
"E", # Error
"F", # pyflakes
"BLE", # flake8-blind-except
# "I", # isort
"N", # pep8-naming
"PGH", # pygrep-hooks
"PTH", # flake8-use-pathlib
"SIM", # flake8-simplify
"W", # Warning
"Q", # flake8-quotes
"YTT", # flake8-2020
"UP", # pyupgrade
# "A", # flake8-builtins
]
ignore = ["SIM300"]
# Allow Pydantic's `@validator` decorator to trigger class method treatment.
pep8-naming.classmethod-decorators = ["pydantic.validator", "classmethod"]