Skip to content

Commit

Permalink
Apply updates from cookiecutter
Browse files Browse the repository at this point in the history
This automated commit applies the latest updates from our cookiecutters [1] to
this repo.

[1]: https://github.com/hypothesis/cookiecutters
  • Loading branch information
github-actions[bot] authored and seanh committed Jan 31, 2025
1 parent 377879b commit a95455a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dev: python
.PHONY: shell
$(call help,make shell,"launch a Python shell in this project's virtualenv")
shell: python
@pyenv exec tox -qe dev --run-command 'ipython'
@PYTHONPATH=$(CURDIR) TOX_TESTENV_PASSENV=PYTHONPATH pyenv exec tox -qe dev --run-command 'ipython'

.PHONY: sql
$(call help,make sql,"Connect to the dev database with a psql shell")
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ setenv =
dev: DATABASE_URL = {env:DATABASE_URL:postgresql://postgres@localhost:5436/postgres}
tests: DATABASE_URL = {env:UNITTESTS_DATABASE_URL:postgresql://postgres@localhost:5436/report_tests}
functests: DATABASE_URL = {env:FUNCTESTS_DATABASE_URL:postgresql://postgres@localhost:5436/report_functests}
# Make `import report` work in `make shell`.
dev: PYTHONPATH = .
# From .cookiecutter/includes/tox/setenv:
MB_DB_USER = {env:MB_DB_USER:postgres}
# As it's Postgres itself that will be contacting these DBs, this will
Expand Down

0 comments on commit a95455a

Please sign in to comment.