diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..cc2402fe --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,6 @@ +repos: +- repo: https://github.com/psf/black + rev: 23.9.1 + hooks: + - id: black + language_version: python3.11 diff --git a/README.md b/README.md index 162a9b19..64f8349c 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ python -m venv .venv .venv\Scripts\activate python -m pip install --upgrade pip pip install -r requirements.txt +pre-commit install ``` ## linux make sure to have pip @@ -25,6 +26,7 @@ python3 -m venv .venv source .venv\Scripts\activate python3 -m pip install --upgrade pip pip install -r requirements.txt +pre-commit install ``` # for admin purposes saving & upgrading when you added some dependancies update the requirements diff --git a/requirements.txt b/requirements.txt index 1e8d37d4..ea51c94c 100644 Binary files a/requirements.txt and b/requirements.txt differ