Skip to content

Commit

Permalink
- Change json logger to use timestamp in iso format.
Browse files Browse the repository at this point in the history
- Add black and standard hooks to pre-commit config.
- Replace pylint with ruff.
  • Loading branch information
mauvilsa committed Jan 31, 2024
1 parent 90514f2 commit 9cb35e2
Show file tree
Hide file tree
Showing 6 changed files with 408 additions and 301 deletions.
30 changes: 23 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@ fail_fast: true

repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-case-conflict
- id: check-docstring-first
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
exclude: .bumpversion.cfg

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

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.13
hooks:
- id: ruff
args: ["--fix"]

- repo: local
hooks:

Expand All @@ -18,13 +41,6 @@ repos:
pass_filenames: false
verbose: true

- name: pylint
id: pylint --errors-only --disable=no-member
entry: pylint --errors-only --disable=no-member
language: system
types: [python]
verbose: true

- name: tox
id: tox --parallel
entry: tox --parallel
Expand Down
Loading

0 comments on commit 9cb35e2

Please sign in to comment.