Update dependency GitPython to v3.1.41 [SECURITY] #1210
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fixed By Awesome-Prince | |
on: [push, pull_request] | |
jobs: | |
PEP8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Install Python lint libraries | |
run: | | |
pip install autoflake isort black | |
- name: Remove unused imports and variables | |
run: | | |
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports . | |
- name: lint with isort | |
run: | | |
isort . | |
- name: lint with black | |
run: | | |
black . | |
# commit changes | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "Auto Code Formatting" | |
commit_options: '--no-verify' | |
repository: . | |
commit_user_name: Awesome-Prince | |
commit_user_email: 90893568+Awesome-Prince@users.noreply.github.com | |
commit_author: Prince <90893568+Awesome-Prince@users.noreply.github.com> |