Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(agw): Added python version requirement infromation #12376

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions lte/gateway/docker/python-precommit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@ 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
VinashakAnkitAman marked this conversation as resolved.
Show resolved Hide resolved

## How to add/update Python dependencies via `requirements.in`
`requirements.in` is the file that manages most `Python` package dependencies for this Dockerfile.
If you need to add or update dependencies in `requirements.in`, always run the following commands.
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