Skip to content
Merged
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
6 changes: 2 additions & 4 deletions .circleci/config.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions .circleci/config.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -260,16 +260,14 @@ jobs:
steps:
- checkout
- pip_install:
args: pre-commit ufmt==1.3.0 black==21.9b0 usort==0.6.4
args: pre-commit
descr: Install lint utilities
- run:
name: Install pre-commit hooks
command: pre-commit install-hooks
- run:
name: Lint Python code and config files
command: |
ufmt format .
pre-commit run --all-files
command: pre-commit run --all-files
- run:
name: Required lint modifications
when: on_fail
Expand Down
15 changes: 7 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ repos:
args: [--fix=lf]
- id: end-of-file-fixer

# TODO: re-enable after https://github.com/omnilib/ufmt/issues/56 is resolved
# - repo: https://github.com/omnilib/ufmt
# rev: v1.3.0
# hooks:
# - id: ufmt
# additional_dependencies:
# - black == 21.9b0
# - usort == 0.6.4
- repo: https://github.com/omnilib/ufmt
rev: v1.3.2
hooks:
- id: ufmt
additional_dependencies:
- black == 21.9b0
- usort == 0.6.4

- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
Expand Down