Skip to content

Commit

Permalink
Use common test requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
quis committed Jul 30, 2024
1 parent 57245fa commit 0ade9a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ generate-version-file:

.PHONY: bootstrap
bootstrap: generate-version-file
pip install -r requirements_for_test.txt
pip install -r requirements.txt
python -c "from notifications_utils.version_tools import copy_config; copy_config()"
pip install -r requirements_for_test.txt

.PHONY: freeze-requirements
freeze-requirements: ## create static requirements.txt
Expand Down
7 changes: 1 addition & 6 deletions requirements_for_test.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
-r requirements.txt
black==24.4.0 # Also update `.pre-commit-config.yaml` if this changes
ruff==0.3.7 # Also update `.pre-commit-config.yaml` if this changes
freezegun==1.2.1
pytest==7.1.1
pytest-mock==3.7.0
pytest-env==0.6.2
-r requirements_for_test_common.txt

jinja2-cli[yaml]==0.8.2

0 comments on commit 0ade9a1

Please sign in to comment.