Skip to content

Commit 60ce007

Browse files
committed
Chore linting with 120 line-length
1 parent cccded0 commit 60ce007

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ repos:
4242
- id: mdformat
4343
additional_dependencies:
4444
- mdformat-gfm
45-
- mdformat-black
45+
- mdformat-ruff
4646
- mdformat_frontmatter
4747
args: ["--number"]
4848

@@ -61,7 +61,7 @@ repos:
6161
- id: ruff-format
6262
name: Black by Ruff
6363
# basic check
64-
- id: ruff
64+
- id: ruff-check
6565
name: Ruff check
6666
args: ["--fix"] #, "--unsafe-fixes"
6767

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,11 @@ namespaces = false # to disable scanning PEP 420 namespaces (true by default)
7272

7373
# === Linting & Formatting ===
7474

75-
[tool.black]
76-
line-length = 79
77-
7875
# --- ruff ---
7976

8077
[tool.ruff]
8178
target-version = "py39"
82-
line-length = 79
79+
line-length = 120
8380
# Exclude a variety of commonly ignored directories.
8481
exclude = [
8582
".eggs",

0 commit comments

Comments
 (0)