diff --git a/.circleci/config.yml b/.circleci/config.yml index b3a5b6cdb7..f0a464ccba 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -118,7 +118,7 @@ jobs: command: pre-commit install-hooks - run: name: Lint Python code and config files - command: pre-commit run --all-files || true + command: pre-commit run --all-files - run: name: Required lint modifications when: always diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index 438469d00a..e096b1ef66 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -118,7 +118,7 @@ jobs: command: pre-commit install-hooks - run: name: Lint Python code and config files - command: pre-commit run --all-files || true + command: pre-commit run --all-files - run: name: Required lint modifications when: always diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cbddd74ff4..cf9a6d523f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,9 +9,11 @@ repos: - id: end-of-file-fixer - repo: https://github.com/omnilib/ufmt - rev: v1.3.0 + rev: v1.3.2 hooks: - id: ufmt additional_dependencies: - - black == 21.9b0 - - usort == 0.6.4 + - black == 22.3 + - usort == 1.0.2 + - libcst == 0.4.1 + exclude: examples diff --git a/docs/source/hw_acceleration_tutorial.ipynb b/docs/source/hw_acceleration_tutorial.ipynb index dd2f94129d..1b45424854 100644 --- a/docs/source/hw_acceleration_tutorial.ipynb +++ b/docs/source/hw_acceleration_tutorial.ipynb @@ -1524,4 +1524,4 @@ }, "nbformat": 4, "nbformat_minor": 0 -} \ No newline at end of file +}