Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 16, 2021
1 parent f9daa9d commit 2cba744
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion repo_helper/configuration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,9 @@ def custom_parsing(

# Python Versions
versions = no_dev_versions(parsed_config_vars["python_versions"])
parsed_config_vars["min_py_version"] = min_py_version = first(_pure_version_numbers(*versions), default="3.6")
parsed_config_vars["min_py_version"] = min_py_version = first(
_pure_version_numbers(*versions), default="3.6"
)

if parsed_config_vars["requires_python"] is None:
if min_py_version in {"3.6", 3.6}:
Expand Down
2 changes: 1 addition & 1 deletion repo_helper/files/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def make_rtfd(repo_path: pathlib.Path, templates: jinja2.Environment) -> List[st

file = PathPlus(repo_path / ".readthedocs.yml")

docs_dir = PathPlus(repo_path / templates.globals['docs_dir'])
docs_dir = PathPlus(repo_path / templates.globals["docs_dir"])

sphinx_config = {
"builder": "html",
Expand Down

0 comments on commit 2cba744

Please sign in to comment.