Skip to content

Commit

Permalink
Merge pull request #15 from kcsry/renovate-2024
Browse files Browse the repository at this point in the history
Renovations, 2024
  • Loading branch information
akx authored Jan 17, 2024
2 parents 8fd040b + f057c47 commit 0539d1f
Show file tree
Hide file tree
Showing 10 changed files with 317 additions and 310 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: CI
'on':
"on":
push:
branches:
- master
Expand All @@ -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/
15 changes: 9 additions & 6 deletions .pre-commit-config.yaml
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
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/notes
22 changes: 8 additions & 14 deletions README.md
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)

Expand Down
Loading

0 comments on commit 0539d1f

Please sign in to comment.