Skip to content

Comments

Disallow blanket and unused suppressions (PGH, RUF10)#4526

Merged
abravalheri merged 1 commit intopypa:mainfrom
Avasam:disallow-blanket-suppressions
Oct 31, 2024
Merged

Disallow blanket and unused suppressions (PGH, RUF10)#4526
abravalheri merged 1 commit intopypa:mainfrom
Avasam:disallow-blanket-suppressions

Conversation

@Avasam
Copy link
Contributor

@Avasam Avasam commented Jul 30, 2024

Summary of changes

As title says.
imo PGH003, PGH004, RUF100 and RUF101 should be part of the skeleton base rules.
Same for mypy's warn_unused_ignores = True and enable_error_code = ignore-without-code if not in strict mode (already part of skeleton)

Includes #4604, please merge that one first

Pull Request Checklist

  • Changes have tests (this enables "meta-tests" (testing our suppression comments))
  • News fragment added in newsfragments/. (not public facing)
    (See documentation for details)

@Avasam Avasam force-pushed the disallow-blanket-suppressions branch from 07f7273 to 94d4d75 Compare July 30, 2024 17:46
@Avasam Avasam changed the title Disallow blanket suppressions Disallow blanket and unused suppressions Jul 30, 2024
@abravalheri
Copy link
Contributor

Thank you. Let's wait for the feedback in skeleton.

@Avasam Avasam force-pushed the disallow-blanket-suppressions branch from 863e532 to 881c06e Compare August 12, 2024 16:58
@Avasam
Copy link
Contributor Author

Avasam commented Aug 12, 2024

Thank you. Let's wait for the feedback in skeleton.

@abravalheri jaraco/skeleton#136 has been merged

@Avasam Avasam force-pushed the disallow-blanket-suppressions branch 4 times, most recently from 90de434 to 722304b Compare August 27, 2024 15:56
@Avasam Avasam force-pushed the disallow-blanket-suppressions branch from 1620a13 to 7758810 Compare August 28, 2024 15:15
@Avasam Avasam marked this pull request as draft August 28, 2024 15:27
@Avasam Avasam marked this pull request as ready for review October 17, 2024 15:50
@Avasam Avasam changed the title Disallow blanket and unused suppressions Disallow blanket and unused suppressions (PGH, RUF10) Oct 17, 2024
@Avasam
Copy link
Contributor Author

Avasam commented Oct 30, 2024

With all the other merges, this PR has become tiny 😃

@Avasam Avasam force-pushed the disallow-blanket-suppressions branch from 46b5786 to 093af8c Compare October 31, 2024 14:00
@abravalheri abravalheri merged commit 584dfa8 into pypa:main Oct 31, 2024
@abravalheri
Copy link
Contributor

Thank you very much.

@Avasam Avasam deleted the disallow-blanket-suppressions branch October 31, 2024 21:22
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.

2 participants