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

Re-enable pylint in CI #3293

Merged
merged 13 commits into from
Nov 11, 2019
Merged

Re-enable pylint in CI #3293

merged 13 commits into from
Nov 11, 2019

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Nov 5, 2019

Fixes #3194

Rules: W0102,W0401,W0611,W0612,W0613,W0614,W1505,R0401,R1707,C0202,E0602

  • W0102: dangerous-default-value
  • W0401: wildcard-import
  • W0611: unused-import
  • W0612: unused-variable
  • W0613: unused-argument
  • W0614: unused-wildcard-import
  • W1505: deprecated-method
  • R0401: cyclic-import
  • R1707: trailing-comma-tuple
  • C0202: bad-classmethod-argument
  • E0602: undefined-variable

Script `maintainer/gh_post_pylint.py` is derived from
script `maintainer/gh_post_docs_warnings.py`.
@jngrad jngrad added this to the Espresso 4.2 milestone Nov 5, 2019
@jngrad
Copy link
Member Author

jngrad commented Nov 5, 2019

espresso-ci correctly posted a message with a excerpt of the pylint report

These version numbers are the default in Ubuntu 19.10.
Make sure espresso-ci deletes the correct message using well-defined
tokens that are guanranteed to be in the posted message. Don't
silently ignore Python exceptions.
@codecov
Copy link

codecov bot commented Nov 5, 2019

Codecov Report

Merging #3293 into python will decrease coverage by <1%.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           python   #3293   +/-   ##
======================================
- Coverage      86%     86%   -1%     
======================================
  Files         536     534    -2     
  Lines       25574   25510   -64     
======================================
- Hits        22004   21939   -65     
- Misses       3570    3571    +1
Impacted Files Coverage Δ
src/core/constraints/Constraints.hpp 96% <100%> (ø) ⬆️
src/core/particle_data.cpp 97% <0%> (-1%) ⬇️
src/utils/include/utils/Span.hpp 100% <0%> (ø) ⬆️
src/core/ghosts.cpp 100% <0%> (ø) ⬆️
src/core/unit_tests/Particle_test.cpp 100% <0%> (ø) ⬆️
src/core/ghosts.hpp 100% <0%> (ø) ⬆️
src/utils/tests/memcpy_archive_test.cpp
...ils/include/utils/serialization/memcpy_archive.hpp

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5a79dd...d8418d8. Read the comment docs.

Copy link
Contributor

@christophlohrmann christophlohrmann left a comment

Choose a reason for hiding this comment

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

I don't really understand what's going on here but I cannot see anything wrong

@jngrad
Copy link
Member Author

jngrad commented Nov 11, 2019

bors r=fweik

bors bot added a commit that referenced this pull request Nov 11, 2019
3279: Replaced some manual memory allocations r=jngrad a=reinaual

Partially adresses #2900

3293: Re-enable pylint in CI r=fweik a=jngrad

Fixes #3194

Rules: `W0102,W0401,W0611,W0612,W0613,W0614,W1505,R0401,R1707,C0202,E0602`

* `W0102`: dangerous-default-value
* `W0401`: wildcard-import
* `W0611`: unused-import
* `W0612`: unused-variable
* `W0613`: unused-argument
* `W0614`: unused-wildcard-import
* `W1505`: deprecated-method
* `R0401`: cyclic-import
* `R1707`: trailing-comma-tuple
* `C0202`: bad-classmethod-argument
* `E0602`: undefined-variable


Co-authored-by: Alexander Reinauer <[email protected]>
Co-authored-by: Jean-Noël Grad <[email protected]>
@bors
Copy link
Contributor

bors bot commented Nov 11, 2019

Build failed (retrying...)

bors bot added a commit that referenced this pull request Nov 11, 2019
3293: Re-enable pylint in CI r=fweik a=jngrad

Fixes #3194

Rules: `W0102,W0401,W0611,W0612,W0613,W0614,W1505,R0401,R1707,C0202,E0602`

* `W0102`: dangerous-default-value
* `W0401`: wildcard-import
* `W0611`: unused-import
* `W0612`: unused-variable
* `W0613`: unused-argument
* `W0614`: unused-wildcard-import
* `W1505`: deprecated-method
* `R0401`: cyclic-import
* `R1707`: trailing-comma-tuple
* `C0202`: bad-classmethod-argument
* `E0602`: undefined-variable


Co-authored-by: Jean-Noël Grad <[email protected]>
@jngrad
Copy link
Member Author

jngrad commented Nov 11, 2019

bors r-

@bors
Copy link
Contributor

bors bot commented Nov 11, 2019

Canceled

@jngrad
Copy link
Member Author

jngrad commented Nov 11, 2019

bors r=fweik

bors bot added a commit that referenced this pull request Nov 11, 2019
3279: Replaced some manual memory allocations r=jngrad a=reinaual

Partially adresses #2900

3293: Re-enable pylint in CI r=fweik a=jngrad

Fixes #3194

Rules: `W0102,W0401,W0611,W0612,W0613,W0614,W1505,R0401,R1707,C0202,E0602`

* `W0102`: dangerous-default-value
* `W0401`: wildcard-import
* `W0611`: unused-import
* `W0612`: unused-variable
* `W0613`: unused-argument
* `W0614`: unused-wildcard-import
* `W1505`: deprecated-method
* `R0401`: cyclic-import
* `R1707`: trailing-comma-tuple
* `C0202`: bad-classmethod-argument
* `E0602`: undefined-variable


Co-authored-by: Alexander Reinauer <[email protected]>
Co-authored-by: Jean-Noël Grad <[email protected]>
@bors
Copy link
Contributor

bors bot commented Nov 11, 2019

Build succeeded

@bors bors bot merged commit d8418d8 into espressomd:python Nov 11, 2019
@jngrad jngrad deleted the fix-3194 branch January 18, 2022 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python3 linter
3 participants