dbcli / pgspecial

Python implementation of postgres meta commands (backslash commands)
BSD 3-Clause "New" or "Revised" License
76 stars 53 forks source link

Add some type information #95

Closed gdevanla closed 3 years ago

gdevanla commented 3 years ago

Description

This minor fix that adds type information to the listed example to improve clarity.

Checklist

codecov-io commented 3 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@62be9a0). Click here to learn what that means. The diff coverage is 4.06%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #95   +/-   ##
=========================================
  Coverage          ?   12.54%           
=========================================
  Files             ?        6           
  Lines             ?     1116           
  Branches          ?        0           
=========================================
  Hits              ?      140           
  Misses            ?      976           
  Partials          ?        0           
Impacted Files Coverage Δ
pgspecial/dbcommands.py 4.16% <2.47%> (ø)
pgspecial/__init__.py 100.00% <100.00%> (ø)
pgspecial/iocommands.py 23.87% <100.00%> (ø)
pgspecial/main.py 32.50% <100.00%> (ø)

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 62be9a0...e6acf0c. Read the comment docs.

j-bennet commented 3 years ago

Type hints are only available in python 3.5+, but we'll get rid of older versions soon. Thank you!