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

DM-37481: Fix emergent GitHub Actions issues #146

Merged
merged 3 commits into from
Jan 5, 2023
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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-yaml
- id: check-toml
Expand All @@ -14,25 +14,25 @@ repos:
files: (README\.rst)|(CHANGELOG\.rst)

- repo: https://github.com/PyCQA/isort/
rev: 5.10.1
rev: 5.11.4
hooks:
- id: isort
additional_dependencies:
- toml

- repo: https://github.com/psf/black
rev: 22.10.0
rev: 22.12.0
hooks:
- id: black

- repo: https://github.com/asottile/blacken-docs
rev: v1.12.1
hooks:
- id: blacken-docs
additional_dependencies: [black==20.8b1]
additional_dependencies: [black==22.12.0]
args: [-l, '79', -t, py38]

- repo: https://github.com/pycqa/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ help:
init:
rm -rf .tox
pip install -e ".[dev,guide,technote,pipelines]"
pip install tox tox-pyenv pre-commit
pip install tox pre-commit
pre-commit install

.PHONY: clean
Expand Down
2 changes: 1 addition & 1 deletion src/documenteer/conf/_toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class DocumenteerConfig:
@classmethod
def find_and_load(cls) -> DocumenteerConfig:
path = Path("documenteer.toml")
if not path.is_file:
if not path.is_file():
raise ConfigError("Cannot find the documenteer.toml file.")
return cls.load(path.read_text())

Expand Down