From 7397894df3f08116f8c7630f9bf97bedb9ccdec1 Mon Sep 17 00:00:00 2001 From: obar1 <387386+obar1@users.noreply.github.com> Date: Wed, 24 Apr 2024 19:44:42 +0000 Subject: [PATCH] close #18 --- .pre-commit-config.yaml | 8 -------- Makefile | 11 +---------- README.md | 4 ++-- requirements-local.txt | 1 - 4 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 .pre-commit-config.yaml delete mode 100644 requirements-local.txt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index a2358c9..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,8 +0,0 @@ -# .pre-commit-config.yaml -repos: -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 # this is optional, use `pre-commit autoupdate` to get the latest rev! - hooks: - - id: check-yaml - - id: end-of-file-fixer - - id: trailing-whitespace diff --git a/Makefile b/Makefile index 554db61..097a8e9 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,7 @@ -venv0: - virtualenv venv - @echo "$ . ./venv/bin/activate" - - install: - pip install --upgrade pip - pip install -r requirements.txt + pip install --upgrade pip && pip install -r requirements.txt mypy --install-types -install-local0: - pre-commit install - test: python -m pytest lib/tests/test_*.py diff --git a/README.md b/README.md index 32937d5..4aa0140 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,6 @@ run_api.py use make ex ```bash -make venv0 +pip install -m venv .venv make install -``` +``` diff --git a/requirements-local.txt b/requirements-local.txt deleted file mode 100644 index 73b70b5..0000000 --- a/requirements-local.txt +++ /dev/null @@ -1 +0,0 @@ -pre-commit==3.0.4