Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Coveralls
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

coveralls-finish:
name: Coveralls finish
Expand All @@ -65,7 +65,7 @@ jobs:
- name: Coveralls Finished
run: coveralls --finish
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release:
name: Github Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Create distributions
run: make dist
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1.9
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ ENV/

# pytest
.pytest_cache

# python-makelib
activate.sh
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PYDEPS_COMMON = \


# Assert the python-makelib version
PYTHON_MAKELIB_VERSION_REQUIRED = 1.5.5
PYTHON_MAKELIB_VERSION_REQUIRED = 2


# Ensure the python-makelib is installed
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ from yhttp import Application
from yhttp.ext.auth import install as auth_install


app = Application()
app = Application('0.1.0', 'foo')
auth = auth_install(app)
app.settings.merge(f'''
auth:
Expand Down Expand Up @@ -88,3 +88,8 @@ setup(
```bash
myapp auth --help
```

## Contribution

### python-makelib
Install [python-makelib](https://github.com/pylover/python-makelib).
1 change: 0 additions & 1 deletion activate.sh

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


dependencies = [
'yhttp >= 6.2, < 7',
'yhttp >= 7, < 8',
'pyjwt',
'redis',
]
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@pytest.fixture
def yapp():
return Application()
return Application('0.1.0', 'foo')


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from yhttp.ext.auth import install


app = Application()
app = Application('0.1.0', 'foo')
authorize = install(app)


Expand Down
Loading