https://github.com/mwksolution/cicdtest
https://github.com/mwksolution/cicdtest
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mwksolution/cicdtest
- Owner: MWKSolution
- Created: 2023-01-25T17:15:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-22T22:05:01.000Z (over 3 years ago)
- Last Synced: 2025-01-11T14:47:23.736Z (over 1 year ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/pre-commit/pre-commit)
[](https://github.com/PyCQA/docformatter)
[](https://github.com/PyCQA/pylint)
[](https://github.com/charliermarsh/ruff)
[](https://github.com/psf/black)
[](https://mypy-lang.org/)
[](https://github.com/PyCQA/bandit)
---
# pre-commit
> 1. **pip install pre-commit**
>2. *create file* **.pre-commit-config.yaml**
>[Supported hooks](https://pre-commit.com/hooks.html)
>3. **pre-commit install** - *git hook scripts*
>4. *git add files !!!*
>5. **pre-commit run --all-files** *or just commit...* (-a)
>6. **pre-commit autoupdate** - update repos
---
# pipreqs
>1. **pip install pipreqs**
>2. *run* **pipreqs --encoding utf-8 --force --ignore .\tests\ .** *-
make requirements.txt for all .py files in current directory, force option to overwrite existing file,* **--print** *- to see only in terminal*