forked from akaihola/darker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
check-darker.toml
37 lines (33 loc) · 973 Bytes
/
check-darker.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
# This is the Darker configuration file for running all the code formatters and linters
# on the Darker code base. To use it, run:
# $ darker --config=check-darker.toml
[tool.black]
# Darker makes Black read its configuration from the file indicated by the `--config`
# option, so we need to mirror the same configuration here and in `pyproject.toml`.
skip-string-normalization = false
target-version = ["py311"]
[tool.isort]
# Darker makes isort read its configuration from the file indicated by the `--config`
# option, so we need to mirror the same configuration here and in `pyproject.toml`.
profile = "black"
known_first_party = ["darkgraylib", "graylint"]
known_third_party = ["pytest"]
[tool.darker]
src = [
"action",
"release_tools",
"src",
"setup.py",
]
revision = "origin/master..."
isort = true
[tool.graylint]
src = ["."]
revision = "origin/master..."
lint = [
"flake8",
"mypy",
"pydocstyle",
"pylint",
"ruff check",
]