Skip to content

Commit bc1d16f

Browse files
authored
Use Ruff default line length (#8)
1 parent db741bf commit bc1d16f

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

_version.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ def get_version_info_from_git() -> str:
9090
"--first-parent",
9191
]
9292
try:
93-
p = subprocess.run(
94-
command, check=False, cwd=repo_dir, capture_output=True
95-
)
93+
p = subprocess.run(command, check=False, cwd=repo_dir, capture_output=True)
9694
except Exception as e:
9795
warning(f"Could not get {project_name} version: {e}")
9896
p = None

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[tool.ruff]
2-
line-length = 80
3-
41
[tool.ruff.lint]
52
# Run all the rules, we turn some rules off in the file itself.
63
select = ["ALL"]

0 commit comments

Comments
 (0)