Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate the flake8 setup into tools/tox.ini and config files #13865

Merged
merged 2 commits into from
Nov 2, 2018

Conversation

foolip
Copy link
Member

@foolip foolip commented Nov 2, 2018

flake8 is still run as part of the "tools/ unittests (Python 2)" job in
Travis, because run_applicable_tox in tools/ci/ci_tools_unittest.sh
will turn TOXENV=py27 into TOXENV=py27,py27-flake8.

Splitting flake8 into a separate job entirely is left for later.

flake8 is still run as part of the "tools/ unittests (Python 2)" job in
Travis, because `run_applicable_tox` in tools/ci/ci_tools_unittest.sh
will turn `TOXENV=py27` into `TOXENV=py27,py27-flake8`.

Splitting flake8 into a separate job entirely is left for later.
@foolip foolip merged commit a54a387 into master Nov 2, 2018
@foolip foolip deleted the foolip/flake8 branch November 2, 2018 11:15
@@ -1,26 +1,20 @@
[tox]
envlist = py27,py36,pypy
envlist = py27,py36,pypy,py27-flake8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We now aren't running flake8 on py36 (and due to Py2/3 differences, there are actual differences that it does catch).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've proposed a fix in #13875.

foolip added a commit that referenced this pull request Nov 2, 2018
This was accidentally dropped in #13865.

Splitting flake8.ini into two is a bit unfortunate, but after trimming
to just the errors and warnings that are hit, they differ a
bit. Unfortunately using `--append-config` twice doesn't work.
gsnedders pushed a commit that referenced this pull request Nov 5, 2018
This was accidentally dropped in #13865.

Splitting flake8.ini into two is a bit unfortunate, but after trimming
to just the errors and warnings that are hit, they differ a
bit. Unfortunately using `--append-config` twice doesn't work.
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Nov 14, 2018
Automatic update from web-platform-testsEnable flake8 for py3 again (#13875)

This was accidentally dropped in web-platform-tests/wpt#13865.

Splitting flake8.ini into two is a bit unfortunate, but after trimming
to just the errors and warnings that are hit, they differ a
bit. Unfortunately using `--append-config` twice doesn't work.
--

wpt-commits: ba70a57943fae3d69055b1c91b083e0d46d1067d
wpt-pr: 13875
staktrace pushed a commit to staktrace/gecko that referenced this pull request Nov 15, 2018
Automatic update from web-platform-testsEnable flake8 for py3 again (#13875)

This was accidentally dropped in web-platform-tests/wpt#13865.

Splitting flake8.ini into two is a bit unfortunate, but after trimming
to just the errors and warnings that are hit, they differ a
bit. Unfortunately using `--append-config` twice doesn't work.
--

wpt-commits: ba70a57943fae3d69055b1c91b083e0d46d1067d
wpt-pr: 13875
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
Automatic update from web-platform-testsEnable flake8 for py3 again (#13875)

This was accidentally dropped in web-platform-tests/wpt#13865.

Splitting flake8.ini into two is a bit unfortunate, but after trimming
to just the errors and warnings that are hit, they differ a
bit. Unfortunately using `--append-config` twice doesn't work.
--

wpt-commits: ba70a57943fae3d69055b1c91b083e0d46d1067d
wpt-pr: 13875

UltraBlame original commit: 617ea28eb87ea4ae9e183eedac5a27a180f32046
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
Automatic update from web-platform-testsEnable flake8 for py3 again (#13875)

This was accidentally dropped in web-platform-tests/wpt#13865.

Splitting flake8.ini into two is a bit unfortunate, but after trimming
to just the errors and warnings that are hit, they differ a
bit. Unfortunately using `--append-config` twice doesn't work.
--

wpt-commits: ba70a57943fae3d69055b1c91b083e0d46d1067d
wpt-pr: 13875

UltraBlame original commit: 617ea28eb87ea4ae9e183eedac5a27a180f32046
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 3, 2019
Automatic update from web-platform-testsEnable flake8 for py3 again (#13875)

This was accidentally dropped in web-platform-tests/wpt#13865.

Splitting flake8.ini into two is a bit unfortunate, but after trimming
to just the errors and warnings that are hit, they differ a
bit. Unfortunately using `--append-config` twice doesn't work.
--

wpt-commits: ba70a57943fae3d69055b1c91b083e0d46d1067d
wpt-pr: 13875

UltraBlame original commit: 617ea28eb87ea4ae9e183eedac5a27a180f32046
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra tox.ini wpt wptrunner The automated test runner, commonly called through ./wpt run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants