Skip to content

Commit

Permalink
CI: Skip resorting of python import statements
Browse files Browse the repository at this point in the history
Skip E402: Fix module level import not at top of file.
The order of imports matters in the ESPResSo build system.
  • Loading branch information
jngrad committed Dec 24, 2020
1 parent 9bbb549 commit 2579c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
always_run: false
files: '.*\.(py|pyx|pxd)'
exclude: '\.pylintrc|.*.\.py\.in|^libs/'
args: ["--ignore=E266,E701,W291,W293", "--in-place", "--aggressive"]
args: ["--ignore=E266,E402,E701,W291,W293", "--in-place", "--aggressive"]

- id: cmake-format
name: cmake-format
Expand Down

0 comments on commit 2579c06

Please sign in to comment.