eyeseast / python-frontmatter

Parse and manage posts with YAML (or other) frontmatter
http://python-frontmatter.rtfd.io
MIT License
329 stars 43 forks source link

Add types to codebase #111

Closed tusharsadhwani closed 8 months ago

tusharsadhwani commented 10 months ago

Resolves #110

mypy --strict . should now pass, and is added to CI as well.

BTW, the CI doesn't seem to run on pull requests because the on: field needs to have pull_request added to the list of events.

eyeseast commented 8 months ago

Hi. Sorry to let this sit. I added an action workflow to run tests against PRs (finally). I'm going to close and reopen this to see if that triggers it. I do have the tests passing locally, though, so I think this should be fine to merge.

eyeseast commented 8 months ago

Alright, that worked. Everything looks good. I'm going to merge this and then cut a new release. Thank you again for doing this.