Skip to content

Commit

Permalink
Merge pull request #57 from tisnik/python-version-checker-in-readme
Browse files Browse the repository at this point in the history
Information about Python version checker
  • Loading branch information
tisnik authored Apr 12, 2019
2 parents 5a1a9e7 + 70a4cf6 commit c1ea579
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,19 @@ The script named `check-bashscripts.sh` can be used to check all BASH scripts (i
```

Please see [the following link](https://github.com/koalaman/shellcheck) for further explanation, how the ShellCheck works and which issues can be detected.

#### Python version checker

This script has to be called with two command line arguments:
expected_major_version expected_minor_version

The script then check if actual Python version (major+minor) is
the same or newer than expected version.

```
Usage:
python check_python_version.py 2.7
python3 check_python_version.py 3.6
python3 check_python_version.py 3.7
```
etc.

0 comments on commit c1ea579

Please sign in to comment.