Skip to content
Open
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
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
repos:
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.3
rev: v1.37.1
hooks:
- id: yamllint
args: [-c=.yamllint.yml]

- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 6.1.0
hooks:
- id: isort

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files

- repo: https://github.com/asottile/add-trailing-comma
rev: v2.2.3
rev: v3.2.0
hooks:
- id: add-trailing-comma

- repo: https://github.com/asottile/pyupgrade
rev: v2.34.0
rev: v3.20.0
hooks:
- id: pyupgrade

- repo: https://github.com/psf/black
rev: 22.6.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.9.0
hooks:
- id: black
args: ["--safe"]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Setup module."""

import setuptools

if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion src/pydab/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
def config_logger():
"""Configure logger using the config file."""
path = pathlib.Path(__file__).absolute().parent.joinpath("logging.yaml")
with open(path, "r") as f:
with open(path) as f:
logging.config.dictConfig(yaml.safe_load(f.read()))