Skip to content

Commit

Permalink
Move section for commented out code, remove shebang (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenstad authored Jun 30, 2024
1 parent b1ddcda commit fff68b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# nornir documentation build configuration file, created by
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ ignore = [
"B028", # No explicit `stacklevel` keyword argument found
"C419", # Unnecessary list comprehension
"COM812", # Trailing comma missing
"ERA001", # Found commented-out code
"EXE001", # Shebang is present but file is not executable
"FBT001", # Boolean-typed positional argument in function definition
"FBT002", # Boolean default positional argument in function definition
"FURB101", # `open` and `read` should be replaced by `Path(filename).read_text()`
Expand Down Expand Up @@ -196,7 +194,8 @@ max-returns = 11
[tool.ruff.lint.per-file-ignores]

"docs/conf.py" = [
"A001", # Variable `copyright` is shadowing a Python builtin
"A001", # Variable `copyright` is shadowing a Python builtin
"ERA001", # Commented out code, used to provide examples for Sphinx docs
]

"docs/highlighter.py" = [
Expand Down

0 comments on commit fff68b2

Please sign in to comment.