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

rework types, migrate parsing and add encoding #49

Merged
merged 10 commits into from
Jan 5, 2023
Merged

Conversation

RonnyPfannschmidt
Copy link
Member

@RonnyPfannschmidt RonnyPfannschmidt commented Dec 7, 2022

  • puts typing inline
  • uses overloads to narrow types
  • moves parsing into own file
  • adds a encoding parameter that defaults to utf-8 - needs pytest crosscheck

fixes #44
fixes #48
addresses #5
fixes #43

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

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

LGTM!

Also needs a CHANGELOG update to mention all the fixes, or at least #48?

@@ -2,4 +2,3 @@ include LICENSE
include example.ini
Copy link
Member

Choose a reason for hiding this comment

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

Curious: is this file needed at all given we use setuptools-scm?

Copy link
Member Author

Choose a reason for hiding this comment

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

probably not anymore

@RonnyPfannschmidt
Copy link
Member Author

i'll squash the fixup commits then prepare for more

CHANGELOG Outdated Show resolved Hide resolved
src/iniconfig/__init__.py Outdated Show resolved Hide resolved
src/iniconfig/__init__.py Outdated Show resolved Hide resolved
src/iniconfig/__init__.py Show resolved Hide resolved
src/iniconfig/__init__.py Outdated Show resolved Hide resolved
src/iniconfig/__init__.py Outdated Show resolved Hide resolved
src/iniconfig/exceptions.py Outdated Show resolved Hide resolved
src/iniconfig/exceptions.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants