drhagen / parsita

The easiest way to parse text in Python
https://parsita.drhagen.com/
MIT License
98 stars 5 forks source link

Fix some issues with mypy #61

Closed drhagen closed 1 year ago

drhagen commented 1 year ago

This was a failed attempt at #37. This merges are some fixes that mypy recommended. There is too much magic in Parsita to fix them all, so mypy is not made a dependency of Parsita at this time.

codecov-commenter commented 1 year ago

Codecov Report

Merging #61 (a5c53bd) into master (de91b9a) will not change coverage. The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff            @@
##            master       #61   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           25        25           
  Lines          830       830           
  Branches        99        99           
=========================================
  Hits           830       830           
Impacted Files Coverage Δ
src/parsita/state/_reader.py 100.00% <ø> (ø)
src/parsita/parsers/_alternative.py 100.00% <100.00%> (ø)
src/parsita/parsers/_any.py 100.00% <100.00%> (ø)
src/parsita/parsers/_base.py 100.00% <100.00%> (ø)
src/parsita/parsers/_conversion.py 100.00% <100.00%> (ø)
src/parsita/parsers/_debug.py 100.00% <100.00%> (ø)
src/parsita/parsers/_end_of_source.py 100.00% <100.00%> (ø)
src/parsita/parsers/_literal.py 100.00% <100.00%> (ø)
src/parsita/parsers/_optional.py 100.00% <100.00%> (ø)
src/parsita/parsers/_predicate.py 100.00% <100.00%> (ø)
... and 8 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more