-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply the new pypackage cookiecutter template
- Loading branch information
Showing
36 changed files
with
654 additions
and
684 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"template": "https://github.com/hypothesis/cookiecutters", | ||
"checkout": null, | ||
"directory": "pypackage", | ||
"ignore": ["src/h_vialib/core.py", "tests/unit/h_vialib/core_test.py"], | ||
"extra_context": { | ||
"name": "h-vialib", | ||
"package_name": "h_vialib", | ||
"slug": "h-vialib", | ||
"short_description": "Library functions for use with Via.", | ||
"python_versions": "3.9.4,3.8.9", | ||
"github_owner": "hypothesis", | ||
"copyright_holder": "Hypothesis", | ||
"visibility": "public", | ||
"console_script": "no", | ||
"devdata": "no", | ||
"services": "no", | ||
"dependabot_pip_interval": "monthly", | ||
"__entry_point": "h-vialib", | ||
"__github_url": "https://github.com/hypothesis/h-vialib", | ||
"__pypi_url": "https://pypi.org/project/h-vialib" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
Usage | ||
----- | ||
|
||
This is an internal library, mostly of interest to maintainers of | ||
[Via](https://github.com/hypothesis/via) and related components. | ||
|
||
Some items of interest: | ||
|
||
* [Configuration](https://github.com/hypothesis/h-vialib/blob/main/src/h_vialib/configuration.py) - Configuration parameter management |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pyjwt | ||
webob |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
day: "sunday" | ||
time: "00:00" | ||
timezone: "Europe/London" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: CI | ||
on: | ||
push: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 1 * * *' | ||
jobs: | ||
Format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- run: python -m pip install tox | ||
- run: tox -e checkformatting | ||
Lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- run: python -m pip install tox | ||
- run: tox -e lint | ||
Tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.9', '3.8'] | ||
name: Unit tests with Python ${{ matrix.python-version }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- run: python -m pip install tox | ||
- run: tox -e tests | ||
- name: Upload coverage file | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: coverage | ||
path: .coverage.* | ||
Coverage: | ||
needs: tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- name: Download coverage files | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: coverage | ||
- run: python -m pip install tox | ||
- run: tox -e coverage | ||
Functests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.9', '3.8'] | ||
name: Functional tests with Python ${{ matrix.python-version }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- run: python -m pip install tox | ||
- run: tox -e functests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: PyPI | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
PyPI: | ||
uses: hypothesis/workflows/.github/workflows/pypi.yml@main | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
*.pyc | ||
.coverage | ||
.coverage.* | ||
build | ||
coverage | ||
node_modules | ||
yarn-error.log | ||
.coverage* | ||
.tox | ||
.idea | ||
|
||
build/ | ||
dist/ | ||
*.egg-info/ | ||
.eggs/ | ||
*.egg-info | ||
*.pyc | ||
supervisord.log | ||
supervisord.pid | ||
.DS_Store | ||
.devdata.env |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.