Skip to content

Commit

Permalink
Add builtins in ci workflow linter
Browse files Browse the repository at this point in the history
To silence the undefined name error when using enigma builtins.
  • Loading branch information
Taapat committed Oct 19, 2023
1 parent 56f2bb3 commit 227ab85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ jobs:
if: ${{ steps.filter.outputs.mod == 'true' }}
run: |
mod_files="${{ steps.filter.outputs.mod_files }}"
flake8 --ignore=E126,E127,E128,E501,F821,W191 --show-source --filename=./${mod_files// /,.\/}
flake8 --ignore=E126,E127,E128,E501,W191 --builtins="_,ngettext,pgettext" --show-source --filename=./${mod_files// /,.\/}

0 comments on commit 227ab85

Please sign in to comment.