Skip to content

Commit

Permalink
Merge pull request #338 from claritychallenge/pre-commit-ci-update-co…
Browse files Browse the repository at this point in the history
…nfig

[pre-commit.ci] pre-commit-autoupdate
  • Loading branch information
groadabike authored Sep 15, 2023
2 parents fc68482 + a16e293 commit 1663f32
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@ repos:
- id: check-toml

- repo: https://github.com/asottile/pyupgrade
rev: v3.9.0
rev: v3.10.1
hooks:
- id: pyupgrade
args: [--py38-plus]

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
types: [python]
additional_dependencies: ["click==8.0.4"]

- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.8.1
rev: v0.9.2
hooks:
- id: markdownlint-cli2

- repo: https://github.com/pycqa/flake8.git
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
additional_dependencies: [flake8-print, Flake8-pyproject]
Expand All @@ -65,21 +65,21 @@ repos:
- id: nbstripout

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
rev: v1.5.1
hooks:
- id: mypy
args:
- --explicit-package-bases

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: "v0.0.280"
rev: "v0.0.288"
hooks:
- id: ruff

# Serious pylint errors that will be enforced by CI
- repo: https://github.com/pycqa/pylint
rev: v3.0.0a6
rev: v3.0.0a7
hooks:
- id: pylint
args:
Expand Down
2 changes: 1 addition & 1 deletion notebooks/03_Running_the_CEC2_baseline_from_python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"from omegaconf import DictConfig, OmegaConf\n",
"\n",
"cfg = OmegaConf.load(\"clarity/recipes/cec2/baseline/config.yaml\")\n",
"assert type(cfg) == DictConfig"
"assert isinstance(cfg, DictConfig)"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies = [
"librosa>=0.8.1",
"matplotlib",
"numba>=0.57.0rc",
"numpy>=1.21.6",
"numpy>=1.21.6,<1.25.0",
"omegaconf>=2.1.1",
"pandas>=1.3.5",
"pyloudnorm>=0.1.0",
Expand Down

0 comments on commit 1663f32

Please sign in to comment.