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

Fix linterstats.get_module_message_count() #9146

Merged
merged 4 commits into from May 18, 2024

Conversation

zasca
Copy link
Contributor

@zasca zasca commented Oct 12, 2023

Type of Changes

Type
βœ“ πŸ› Bug fix

Description

Closes #9145

Copy link
Collaborator

@DanielNoord DanielNoord left a comment

Choose a reason for hiding this comment

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

Could you add a test for this behaviour? And perhaps also a news fragment using towncrier?

@jacobtylerwalls jacobtylerwalls added this to the 3.0.2 milestone Oct 13, 2023
@jacobtylerwalls jacobtylerwalls modified the milestones: 3.0.2, 3.0.3 Oct 22, 2023
@jacobtylerwalls jacobtylerwalls added the Waiting on author Indicate that maintainers are waiting for a message of the author label Oct 28, 2023
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

@zasca do you think you might have time to add automated tests for this ? It would be great if it could go in 3.0.3 :)

@jacobtylerwalls jacobtylerwalls modified the milestones: 3.0.3, 3.0.4 Dec 11, 2023

This comment has been minimized.

@github-actions github-actions bot added the Needs take over πŸ›ŽοΈ Orignal implementer went away but the code could be salvaged. label Feb 5, 2024
@Pierre-Sassoulas Pierre-Sassoulas removed the Waiting on author Indicate that maintainers are waiting for a message of the author label Feb 5, 2024
@Pierre-Sassoulas Pierre-Sassoulas modified the milestones: 3.0.4, 3.1.1 Feb 23, 2024
@jacobtylerwalls jacobtylerwalls modified the milestones: 3.1.1, 3.2.1, 3.2.2 May 13, 2024
@jacobtylerwalls jacobtylerwalls self-assigned this May 18, 2024
@jacobtylerwalls jacobtylerwalls removed the Needs take over πŸ›ŽοΈ Orignal implementer went away but the code could be salvaged. label May 18, 2024
@jacobtylerwalls jacobtylerwalls modified the milestones: 3.2.2, 3.2.1 May 18, 2024
@jacobtylerwalls jacobtylerwalls requested review from Pierre-Sassoulas and removed request for Pierre-Sassoulas May 18, 2024 14:38
@jacobtylerwalls jacobtylerwalls enabled auto-merge (squash) May 18, 2024 14:39
Copy link

codecov bot commented May 18, 2024

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 95.86%. Comparing base (117be95) to head (31b1fd6).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #9146      +/-   ##
==========================================
+ Coverage   95.84%   95.86%   +0.01%     
==========================================
  Files         174      174              
  Lines       18901    18904       +3     
==========================================
+ Hits        18116    18122       +6     
+ Misses        785      782       -3     
Files Coverage Ξ”
pylint/lint/report_functions.py 97.87% <100.00%> (+6.96%) ⬆️
pylint/utils/linterstats.py 98.79% <100.00%> (ΓΈ)

This comment has been minimized.

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

nt/checkouts/9146/doc/user_guide/messages/warning/implicit-str-concat.rst:55: 
WARNING: Lexing literal_block '[STRING_CONSTANT]\ncheck-str-concat-over-line-jumps = yes' 
as "toml" resulted in an error at token: 'y'. Retrying in relaxed mode.

Feel like this need a rebase on main /merge from main to be fixed. Otherwise LGTM

@jacobtylerwalls jacobtylerwalls merged commit d7526e3 into pylint-dev:main May 18, 2024
44 checks passed
github-actions bot pushed a commit that referenced this pull request May 18, 2024
Co-authored-by: Jacob Walls <[email protected]>
(cherry picked from commit d7526e3)
Copy link
Contributor

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 31b1fd6

@jacobtylerwalls
Copy link
Member

Thanks for the contribution @zasca!

jacobtylerwalls pushed a commit that referenced this pull request May 18, 2024
Co-authored-by: Jacob Walls <[email protected]>
(cherry picked from commit d7526e3)

Co-authored-by: zasca <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'warnings by module' table missing in a report
4 participants