To automatically
- remove unused imports
- order our imports alphabetically (isort)
- detect basic security guidelines using Bandit
- autoformat our code (line length, etc.)
To automatically
See Aliases for actual commands
git co -b my_feat_or_bugfix upstream/main
Context: Python app needs a database and our database is setup through Docker.
In VS Code docs,
git log --graph --oneline --decorate $( git fsck --no-reflog | awk '/dangling commit/ {print $3}' )This will show you all the commits at the tips of your commit graph which are no longer referenced from any branch or tag – every lost commit, including every stash commit you’ve ever created, will be somewhere in that graph.
| [alias] | |
| co = checkout | |
| nb = checkout -b | |
| b = branch | |
| mg = merge | |
| mgnf = merge --no-ff | |
| amend = commit --amend | |
| c = commit |
| # Does it have a setup.py file? | |
| This _may be_ sufficient. | |
| 1. Clone repo | |
| 2. Create a virtual environment; Activate virtual environment | |
| 3. pip install -e . |