Skip to content

Commit

Permalink
Ignore docs directory
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Feb 11, 2024
1 parent 1c22aec commit 37b3bf2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 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 = "2018-{}, pybv developers".format(date.today().year)
copyright = f"2018-{date.today().year}, pybv developers"
author = "pybv developers"
version = pybv.__version__
release = version
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[tool.ruff]
exclude = ["docs"]

[tool.ruff.lint]
select = ["A", "B006", "D", "E", "F", "I", "W", "UP"]
ignore = ["A002", "D203", "D213"]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# get the version
version = None
with open(os.path.join("pybv", "__init__.py"), "r") as fid:
with open(os.path.join("pybv", "__init__.py")) as fid:
for line in (line.strip() for line in fid):
if line.startswith("__version__"):
version_str = line.split("=")[1].strip()
Expand Down

0 comments on commit 37b3bf2

Please sign in to comment.