← Winnitude! Search  ·  Reader Mode (984 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 51 LINKS

Drop python 3.4, prep for adding types by Yobmod · Pull Request #1188 · gitpython-developers/GitPython

Repository navigation

Drop python 3.4, prep for adding types - #1188


Merged
Byron merged 7 commits into gitpython-developers:master from Yobmod:main Mar 3, 2021
Merged

Drop python 3.4, prep for adding types #1188 Byron merged 7 commits into gitpython-developers:master from Yobmod:main

Conversation

Yobmod commented Feb 28, 2021 · edited Loading



Copy link Copy Markdown
Contributor
  • Drop python 3.4 in setup.py and tox.ini
  • Update .gitnignore
  • Add mypy.ini
  • Add git/py.typed file and to setup.py
  • add test/testrunner.py as a hook for monkeytype
  • Add git/types.py for type aliases and classes
  • (Some commits just formatting. VSCode switched my flake8 off for mypy)
Yobmod added 7 commits February 28, 2021 17:52 drop py3.4 support 1f2f3e8 update .gitignore prior to types af7913c add testrunner.py to run all tests (as hook for static analysis) 9c6178f add py.typed, mypy.ini and git/types.py 2d92fee move cmd.py types to another branch, mark typing import as unused b4fe276 add newline 300261d add newlines 26ccee1

Yobmod commented Feb 28, 2021



Copy link Copy Markdown
Contributor

Author

I've had to rename testrunner.py as it was interferring with the checks. Feel free to change to a better name!

Byron commented Mar 2, 2021



Copy link Copy Markdown
Member

Thanks a lot! Please let me know if this is a draft (and I will make it a draft PR) or when it's ready to be merged as foundation for types (I really don't know much anything about that and rely solely on your expertise, thanks in advance for bearing my ignorance 😅).

Yobmod commented Mar 2, 2021 · edited Loading



Copy link Copy Markdown
Contributor

Author

I think this is ready to merge as is.
It doesn't touch any of the existing code (except setup.py), but gets it all ready for adding types, whichever route we end up going for that.

Byron merged commit 20f4a9d into gitpython-developers : master Mar 3, 2021

Byron commented Mar 3, 2021



Copy link Copy Markdown
Member

Thanks a lot, I am looking forward to seeing the first types :)!

EliahKagan added a commit to EliahKagan/GitPython that referenced this pull request Oct 23, 2023 Add a module docstring to tstrunner.py e4a4186
It benefits from a docstring because it is not referenced in code
or documentation, and its purpose is/was otherwise unclear.

The docstring includes a reference to gitpython-developers#1188 for more information.
EliahKagan added a commit to EliahKagan/GitPython that referenced this pull request Oct 23, 2023 Add a module docstring to tstrunner.py 627b8b4
It benefits from a docstring because it is not referenced in code
or documentation, and its purpose is/was otherwise unclear.

The docstring includes a reference to gitpython-developers#1188 for more information.
EliahKagan added a commit to EliahKagan/GitPython that referenced this pull request Oct 23, 2023 Add a module docstring to tstrunner.py cf9243a
It benefits from a docstring because it is not referenced in code
or documentation, and its purpose is/was otherwise unclear.

The docstring includes a reference to gitpython-developers#1188 for more information.
Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

2 participants