-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Revert py3modernize lint changes #34339
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__name__ is py3-compatible and also works on builtins in py2, which func_name does not.
gitebra
pushed a commit
to gitebra/salt
that referenced
this pull request
Jun 29, 2016
* upstream/develop: (44 commits) Send traps to Zabbix when there is a comment and name in result. Fix invalid syntax error in system.py module exception handling Don't forget the pylint disables for range Back-port saltstack#34256 to 2016.3 (saltstack#34343) Pylint fixes Revert py3modernize lint changes (saltstack#34339) Add listen/listen_in support to stateconf.py Change merge-if-exists logic to properly report changes Doc clarifications to file modules, addition of new `profile` log level to docs, fixed example in dnsmasq (saltstack#34323) version checking had a logical error (saltstack#34333) fix saltstack#34329 (saltstack#34330) Remove unnecessarily-disabled sanity check (saltstack#34325) Do not force 'filter' table when flushing add osmajorrelease to ubuntu and fix pylint Fix psutil.cpu_times unpack error (saltstack#34318) Typo in dockerio doc (saltstack#34319) add osmajorrelease grain for raspbian [2016.3] Update to latest bootstrap script v2016.06.27 [2015.8] Update to latest bootstrap script v2016.06.27 [2015.5] Update to latest bootstrap script v2016.06.27 ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These were legitimate uses of disabling the
incompatible-py3-code check
, whichdue to some idiosyncrasy on the jenkins server were causing an error and most
of the pylint disables here were removed in 35b2076 to satisfy the linter.
After a recent change to the PR lint jenkins job, these now fail as expected
without the disable.
This pull request resolves failing
incompatible-py3-code
and fixes a couplelegit failures of this check.