Skip to content

Commit

Permalink
[FIX] flake8 test implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
etobella committed Nov 25, 2020
1 parent 5f9079a commit ac983a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ jobs:
flake8 odoo/addons/openupgrade* --max-line-length=120 --exclude=__init__.py
# only flake8 migration scripts from the openupgrade project, presumably
# identifiable by using the openupgrade helpers
flake8 --max-line-length=120 scripts $(find . \( -name 'pre-*.py' -or -name 'post-*.py' \) -exec grep -q openupgrade {} \; -print)
flake8 odoo/addons/*/migrations/*/tests/ --max-line-length=120
flake8 --max-line-length=120 scripts $(find . \( -name 'pre-*.py' -or -name 'post-*.py' -or -name 'end-*.py' \) -exec grep -q openupgrade {} \; -print)
flake8 addons/*/migrations/*/tests/ --max-line-length=120

0 comments on commit ac983a4

Please sign in to comment.