akamhy / waybackpy

Wayback Machine API interface & a command-line tool
https://pypi.org/project/waybackpy/
MIT License
452 stars 32 forks source link

Add typed marker (PEP561) #167

Closed eggplants closed 2 years ago

eggplants commented 2 years ago

https://www.python.org/dev/peps/pep-0561/#id13

In order to make packaging and distributing type information as simple and easy as possible, packaging and distribution is done through existing frameworks.

Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing. This marker applies recursively: if a top-level package includes it, all its sub-packages MUST support type checking as well. To have this file installed with the package, maintainers can use existing packaging options such as package_data in distutils, shown below.

codecov[bot] commented 2 years ago

Codecov Report

Merging #167 (3b31f93) into master (d6ef550) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #167   +/-   ##
=======================================
  Coverage   95.46%   95.46%           
=======================================
  Files          10       10           
  Lines         661      661           
=======================================
  Hits          631      631           
  Misses         30       30           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d6ef550...3b31f93. Read the comment docs.