Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move section for commented out code, remove shebang #949

Merged
merged 2 commits into from
Jun 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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