Skip to content

Commit

Permalink
Merge pull request #146 from lsst-sqre/tickets/DM-37481
Browse files Browse the repository at this point in the history
DM-37481: Fix emergent GitHub Actions issues
  • Loading branch information
jonathansick authored Jan 5, 2023
2 parents 8f41651 + 1ad86fb commit 8e69657
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
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

0 comments on commit 8e69657

Please sign in to comment.