G-Node / nixpy

Python library for NIX
https://readthedocs.org/projects/nixpy
Other
19 stars 26 forks source link

perform python version checks in cmd/main ... #519

Closed jgrewe closed 3 years ago

jgrewe commented 3 years ago

... will raise a runtime error if python version is below 3.6 ... will create argparse.add_subparsers without requires=True for python 3.6 ... and will use it for python >= 3.7

fixes #518

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.04%) to 78.998% when pulling ab6bb7ef9ad59165ef9c786d5aa2dd9fc48b2bbc on jgrewe:cmd_required into f2c0cd6d915b03841fb4acba21be0266853d4155 on G-Node:master.

codecov-commenter commented 3 years ago

Codecov Report

Merging #519 (ab6bb7e) into master (f2c0cd6) will decrease coverage by 0.04%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #519      +/-   ##
==========================================
- Coverage   78.77%   78.73%   -0.05%     
==========================================
  Files          59       59              
  Lines        9386     9391       +5     
==========================================
  Hits         7394     7394              
- Misses       1992     1997       +5     
Impacted Files Coverage Δ
nixio/cmd/main.py 0.00% <0.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 f2c0cd6...ab6bb7e. Read the comment docs.