From a0a03efee51552cc3645e8cb2111429139449213 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 16 Oct 2023 11:54:23 -0400 Subject: [PATCH 1/2] Added Black to pre-commit hook --- .pre-commit-config.yaml | 6 ++++++ requirements.txt | Bin 1062 -> 725 bytes 2 files changed, 6 insertions(+) create mode 100644 .pre-commit-config.yaml 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/requirements.txt b/requirements.txt index 1e8d37d451b581f772b5be9b8b3ede24968e5ba3..ea51c94cc0396773a16fa9d442b26495e5ac23d4 100644 GIT binary patch literal 725 zcmYk4PjlNK5XJ9&7coLoZ0Eos_hu%UoO;S&ge=Ags8~DU+xIPQJ3a1W|NQnX#;2=U zu14!#o}?1Sr>&M>f#X5;!o--!kefTI*%g+bnp}O-dXz`5DK*-T{N~b)w4P)y$A`Gp zN1u~82V<{V52JiWgts7c=?n);)Y0p7_|r|4wxF)T1r_-gm)t+eESan zc!h72m0S<_|7lRoBhyKt92M%8U_OJ7*i1QM zAd^A1bxD<5;A?Q#P)fbMo8wMH1-~5>usW+|%GpmeLVg2=Ef}1luB)GrOOJBdpa+L1 znbJWA%%>X;EcDajoI>#777?jq)NYKXJJhx5-R3NGCiE)svq!_eLct5pyS&L<;|XFs zHV1Nr4kKvgF4FPu4$GZ3EV({p20mjlC&RQnvMSt#HJ-;VyYJK#%rJ`rj+S~asFzwe zw@jYZe-8yYCT}yR8ltEo)onK|c1z5o1u#FYZm-o{J8$y#H{^`2I0f#m&C^(^(e~+r i%C+ia7gW&iO{yBK`UR0CVn<+i_^w+Vw~=lI_x}Ow%bMl@ From a1b31dfa85763caee084cc8730c0f7c3f6dd0a87 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 16 Oct 2023 12:01:57 -0400 Subject: [PATCH 2/2] Updated readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) 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