Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Scheltienne committed Dec 19, 2023
1 parent fe50b39 commit c7365fb
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 47 deletions.
89 changes: 43 additions & 46 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,53 +1,50 @@
ci:
skip: [pydocstyle, yamllint]

repos:
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
files: template
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
files: template

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.8
hooks:
- id: ruff
name: ruff linter
args: [--fix]
files: template
- id: ruff-format
name: ruff formatter
files: template
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.8
hooks:
- id: ruff
name: ruff linter
args: [--fix]
files: template
- id: ruff-format
name: ruff formatter
files: template

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
args: [--write-changes]
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
args: [--write-changes]

- repo: https://github.com/pycqa/pydocstyle
rev: 6.3.0
hooks:
- id: pydocstyle
files: template
additional_dependencies: [tomli]
- repo: https://github.com/pycqa/pydocstyle
rev: 6.3.0
hooks:
- id: pydocstyle
files: template
additional_dependencies: [tomli]

- repo: https://github.com/mscheltienne/bibclean
rev: 0.8.0
hooks:
- id: bibclean-fix
files: doc/references.bib
args: [--exit-non-zero-on-fix]
- repo: https://github.com/mscheltienne/bibclean
rev: 0.8.0
hooks:
- id: bibclean-fix
files: doc/references.bib
args: [--exit-non-zero-on-fix]

- repo: https://github.com/pappasam/toml-sort
rev: v0.23.1
hooks:
- id: toml-sort-fix
files: pyproject.toml
- repo: https://github.com/pappasam/toml-sort
rev: v0.23.1
hooks:
- id: toml-sort-fix
files: pyproject.toml

- repo: https://github.com/adrienverge/yamllint
rev: v1.33.0
hooks:
- id: yamllint
args: [--strict, -c, .yamllint.yaml]
files: (.github/|.codecov.yaml|.pre-commit-config.yaml|.yamllint.yaml)
- repo: https://github.com/adrienverge/yamllint
rev: v1.33.0
hooks:
- id: yamllint
args: [--strict, -c, .yamllint.yaml]
files: (.github/|.codecov.yaml|.pre-commit-config.yaml|.yamllint.yaml)
2 changes: 1 addition & 1 deletion template/utils/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def set_log_level(verbose: Optional[Union[bool, str, int]]) -> None:


class _LoggerFormatter(logging.Formatter):
"""Format string syntax."""
"""Format string snytax."""

# Format string syntax for the different Log levels
_formatters = dict()
Expand Down

0 comments on commit c7365fb

Please sign in to comment.