Skip to content

Commit 1947d11

Browse files
author
Bryan Sieber
committed
Attempting to solve circular linting issue
1 parent 840def5 commit 1947d11

File tree

2 files changed

+1
-29
lines changed

2 files changed

+1
-29
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,5 @@ repos:
6060
- id: black
6161
name: black
6262
entry: poetry run black
63-
args: ["--config","./pyproject.toml", "."]
6463
types: [python]
6564
language: system

pyproject.toml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -52,36 +52,9 @@ testpaths = [
5252
load-plugins='pylint_pytest'
5353
ignore='third_party'
5454

55-
[tool.black]
56-
line-length = 88
57-
include = '\.pyi?$'
58-
exclude = '''
59-
(
60-
/(
61-
\.eggs # exclude a few common directories in the
62-
| \.git # root of the project
63-
| \.hg
64-
| \.mypy_cache
65-
| \.pytest_cache
66-
| \.venv
67-
| _build
68-
| buck-out
69-
| build
70-
| dist
71-
)/
72-
| foo.py # also separately exclude a file named foo.py in
73-
# the root of the project
74-
)
75-
'''
7655

7756
[tool.isort]
78-
# https://black.readthedocs.io/en/stable/compatible_configs.html
79-
multi_line_output = 3
80-
include_trailing_comma = true
81-
force_grid_wrap = 0
82-
use_parentheses = true
83-
ensure_newline_before_comments = true
84-
line_length = 88
57+
profile = "black"
8558

8659

8760
[tool.coverage]

0 commit comments

Comments
 (0)