Skip to content

Conversation

@tn3w
Copy link
Contributor

@tn3w tn3w commented Jul 14, 2025

When developing with iniconfig, several linter messages appear that are quite annoying. This PR addresses these issues by fixing the linter errors, making the development experience smoother and cleaner. The changes maintain full compatibility while bringing the codebase in line with standard linting practices.

@RonnyPfannschmidt
Copy link
Member

Thank you for getting this started

As the ci error indicates we also need to touch up the pre commit config to use the correct formatter version

@tn3w tn3w changed the title Refactor type hinting in SectionWrapper and IniConfig Remove unused typing imports to fix linting errors Jul 14, 2025
@RonnyPfannschmidt
Copy link
Member

i took the liberty to run a pre-commit autoupdate - black from 2022 simply doesnt format right for overrides - the modern version however does

@RonnyPfannschmidt
Copy link
Member

please verify if this matches what you had in mind, then i'll merge and release

@tn3w
Copy link
Contributor Author

tn3w commented Jul 16, 2025

That was exactly what I intended.

@RonnyPfannschmidt RonnyPfannschmidt merged commit 4ba2216 into pytest-dev:main Jul 16, 2025
13 checks passed
killiandesse pushed a commit to killiandesse/iniconfig that referenced this pull request Sep 24, 2025
Remove unused typing imports to fix linting errors
RonnyPfannschmidt added a commit that referenced this pull request Oct 18, 2025
Merge pull request #65 from tn3w/fix-linter-errors
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