Skip to content

Commit

Permalink
updating flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-rakowski committed Nov 14, 2023
1 parent 8908d57 commit cc4614d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
17 changes: 15 additions & 2 deletions .github/linters/.flake8
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
[flake8]
select : ["F402", "F404", "F812", "F823", "F831", "F821", "F822", "E112", "E113", "E901", "E902", "E999", "E501"]
src : "py4DSTEM"
select =
F402,
F404,
F812,
F823,
F831,
F821,
F822,
E112,
E113,
E901,
E902,
E999,
E501
src = py4DSTEM
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_ALL_CODEBASE: true
VALIDATE_PYTHON_FLAKE8: true
DEFAULT_BRANCH: "dev"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
15 changes: 15 additions & 0 deletions bk.flake8.bk
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[flake8]
select =
F402,
F404,
F812,
F823,
F831,
F821,
F822,
E112,
E113,
E901,
E902,
E999,
src = py4DSTEM

0 comments on commit cc4614d

Please sign in to comment.