Skip to content

Commit

Permalink
Do not exclude docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Feb 11, 2024
1 parent 912a446 commit d19515f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

# General information about the project.
project = "pybv"
copyright = f"2018-{date.today().year}, pybv developers"
copyright = f"2018-{date.today().year}, pybv developers" # noqa:A001
author = "pybv developers"
version = pybv.__version__
release = version
Expand Down
6 changes: 5 additions & 1 deletion docs/sphinxext/gh_substitutions.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@
from docutils.parsers.rst.roles import set_classes


def gh_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
def gh_role(name, rawtext, text, lineno, inliner, options=None, content=None):
"""Link to a GitHub issue."""
if content is None:
content = []
if options is None:
options = {}
try:
# issue/PR mode (issues/PR-num will redirect to pull/PR-num)
int(text)
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[tool.ruff]
exclude = ["docs"]

[tool.ruff.lint]
select = ["A", "B006", "D", "E", "F", "I", "W", "UP"]
ignore = ["A002", "D203", "D213"]

0 comments on commit d19515f

Please sign in to comment.