-
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.
Merge pull request #15 from kcsry/renovate-2024
Renovations, 2024
- Loading branch information
Showing
10 changed files
with
317 additions
and
310 deletions.
There are no files selected for viewing
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,5 +1,5 @@ | ||
name: CI | ||
'on': | ||
"on": | ||
push: | ||
branches: | ||
- master | ||
|
@@ -8,43 +8,43 @@ name: CI | |
- master | ||
jobs: | ||
Test: | ||
env: | ||
DEBUG: '1' | ||
runs-on: 'ubuntu-20.04' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.7', '3.8', '3.9'] | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
steps: | ||
- name: 'Set up Python ${{ matrix.python-version }}' | ||
uses: actions/setup-python@v2 | ||
- uses: actions/checkout@v4 | ||
- name: "Set up Python ${{ matrix.python-version }}" | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '${{ matrix.python-version }}' | ||
- uses: actions/checkout@v2 | ||
python-version: "${{ matrix.python-version }}" | ||
cache: pip | ||
cache-dependency-path: | | ||
pyproject.toml | ||
- run: pip install tox-gh-actions tox | ||
- run: tox | ||
- uses: codecov/codecov-action@v2 | ||
- uses: codecov/codecov-action@v3 | ||
Lint: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
python-version: "3.12" | ||
cache: pip | ||
cache-dependency-path: | | ||
pyproject.toml | ||
requirements*txt | ||
- uses: pre-commit/[email protected] | ||
Build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-python@v2 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- uses: actions/checkout@v2 | ||
- run: 'pip install build' | ||
python-version: "3.12" | ||
- uses: actions/checkout@v4 | ||
- run: "pip install build" | ||
- run: python -m build . | ||
- uses: actions/upload-artifact@v2 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist | ||
path: dist/ |
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,20 +1,23 @@ | ||
repos: | ||
- repo: https://github.com/charliermarsh/ruff-pre-commit | ||
rev: v0.0.261 | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.1.13 | ||
hooks: | ||
- id: ruff | ||
args: | ||
- --fix | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
rev: v4.5.0 | ||
hooks: | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
|
||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v1.2.0 | ||
rev: v1.8.0 | ||
hooks: | ||
- id: mypy | ||
additional_dependencies: | ||
- types-PyYAML | ||
|
||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v3.1.0 | ||
hooks: | ||
- id: prettier |
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 @@ | ||
/notes |
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,31 +1,25 @@ | ||
lippukala | ||
========= | ||
# lippukala | ||
|
||
App for managing e-tickets for conventions. | ||
|
||
Getting started | ||
--------------- | ||
## Getting started | ||
|
||
python3 -m venv venv-lippukala | ||
source venv-lippukala/bin/activate | ||
|
||
git clone [email protected]:kcsry/lippukala | ||
cd lippukala | ||
pip install -e .[dev] -r requirements-dev.txt | ||
pip install -e .[dev] | ||
|
||
## POS test mode | ||
|
||
POS test mode | ||
------------- | ||
|
||
python lippukala_test_app.py seed | ||
python lippukala_test_app.py runserver | ||
start http://localhost:8000/pos | ||
python lippukala_test_app.py seed | ||
python lippukala_test_app.py runserver | ||
start http://localhost:8000/pos | ||
|
||
(Look at the `codes` JavaScript variable for example codes to use.) | ||
|
||
|
||
Copyright & license | ||
------------------- | ||
## Copyright & license | ||
|
||
The MIT License (MIT) | ||
|
||
|
Oops, something went wrong.