Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply updates from cookiecutter #21

Merged
merged 1 commit into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .cookiecutter/includes/README/head.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

This package is not likely to be of use to you
----------------------------------------------

Expand Down
1 change: 0 additions & 1 deletion .cookiecutter/includes/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

[options.package_data]
h_api =
resources/**/*
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CI
on:
push:
workflow_dispatch:
workflow_call:
schedule:
- cron: '0 1 * * *'
jobs:
Expand Down
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,18 @@ checkformatting: python

.PHONY: test
$(call help,make test,"run the unit tests in Python 3.9")
coverage: test
test: python
@pyenv exec tox -qe tests

.PHONY: test-py38
$(call help,make test-py38,"run the unit tests in Python 3.8")
coverage: test-py38
test-py38: python
@pyenv exec tox -qe py38-tests

.PHONY: coverage
$(call help,make coverage,"run the tests and print the coverage report")
coverage: python
@pyenv exec tox -qe coverage
@pyenv exec tox --parallel -qe 'tests,py{38}-tests,coverage'

.PHONY: functests
$(call help,make functests,"run the functional tests in Python 3.9")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Then to set up your development environment:

```terminal
git clone https://github.com/hypothesis/h-api.git
cd h_api
cd h-api
make help
```

Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ setenv =
passenv =
HOME
PYTEST_ADDOPTS
dev: DEBUG
dev: SENTRY_DSN
deps =
dev: ipython
format,checkformatting: black
Expand Down