Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11, 3.12]
python-version: [3.11, 3.12, 3.13]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
## Pedantic 2.1.9
- added Python 3.13 to CI

## Pedantic 2.1.8
- add more parameters to `transformation` in `create_decorator` to make it more flexible

Expand Down
2 changes: 1 addition & 1 deletion pedantic/type_checking_logic/check_generic_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def check_instance_of_generic_class_and_get_type_vars(instance: Any) -> Dict[Typ
>>> e = B[int]()
Traceback (most recent call last):
...
TypeError: Too few ...; actual 1, expected 2
TypeError: Too few ...; actual 1, expect... 2
>>> f = B[int, float]()
>>> check_instance_of_generic_class_and_get_type_vars(f)
{~T: <class 'int'>, ~S: <class 'float'>}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def get_content_from_readme(file_name: str = 'README.md') -> str:

setup(
name="pedantic",
version="2.1.8",
version="2.1.9",
python_requires='>=3.11.0',
packages=find_packages(),
install_requires=[],
Expand Down