Skip to content

Commit

Permalink
Added python version information to precommit script
Browse files Browse the repository at this point in the history
Signed-off-by: VinashakAnkitAman <ankit.aman@radisys.com>
  • Loading branch information
VinashakAnkitAman committed Apr 1, 2022
1 parent 0b3c675 commit ae1aa6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lte/gateway/docker/python-precommit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ cd $MAGMA/lte/gateway/python
# to run the flake8 linter by specifying paths
./precommit.py --lint -p PATH1 PATH2
# to run the flake8 linter on all modified files in the current commit
./precommit.py --lint--diff
./precommit.py --lint --diff

# to run all available formatters by specifying paths
./precommit.py --format -p PATH1 PATH2
# to run all available formatters on all modified files in the current commit
./precommit.py --format--diff
./precommit.py --format --diff
```

Note: Python version >= 3.7 is needed to run the above precommit.py script
Expand Down
1 change: 1 addition & 0 deletions lte/gateway/python/precommit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# Note: Python version >= 3.7 is needed to run this script
"""
Copyright 2020 The Magma Authors.
Expand Down

0 comments on commit ae1aa6c

Please sign in to comment.