Skip to content

Commit 19f314c

Browse files
committed
init
1 parent ef4d43e commit 19f314c

34 files changed

+8066
-0
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
3+
patreon: OXL

.github/workflows/lint.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
3+
name: Lint
4+
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches: [latest]
9+
paths:
10+
- '**.py'
11+
- '.github/workflows/lint.yml'
12+
- 'requirements_lint.txt'
13+
pull_request:
14+
branches: [latest]
15+
paths:
16+
- '**.py'
17+
- '.github/workflows/lint.yml'
18+
- 'requirements_lint.txt'
19+
jobs:
20+
lint:
21+
runs-on: ubuntu-latest
22+
timeout-minutes: 2
23+
defaults:
24+
run:
25+
shell: bash
26+
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v3
30+
with:
31+
ref: ${{ github.ref }}
32+
33+
- name: Install python
34+
uses: actions/setup-python@v4
35+
with:
36+
python-version: '3.11'
37+
38+
- name: Install dependencies
39+
run: |
40+
pip install -r requirements_lint.txt >/dev/null
41+
pip install -r requirements.txt >/dev/null
42+
43+
- name: Running PyLint
44+
run: |
45+
pylint --version
46+
pylint --rcfile .pylintrc --recursive=y .

.github/workflows/test.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
3+
name: Test
4+
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches: [latest]
9+
paths:
10+
- '**.py'
11+
- '.github/workflows/test.yml'
12+
- 'requirements_test.txt'
13+
pull_request:
14+
branches: [latest]
15+
paths:
16+
- '**.py'
17+
- '.github/workflows/test.yml'
18+
- 'requirements_test.txt'
19+
jobs:
20+
test:
21+
runs-on: ubuntu-latest
22+
timeout-minutes: 2
23+
defaults:
24+
run:
25+
shell: bash
26+
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v3
30+
with:
31+
ref: ${{ github.ref }}
32+
33+
- name: Install python
34+
uses: actions/setup-python@v4
35+
with:
36+
python-version: '3.11'
37+
38+
- name: Install dependencies
39+
run: |
40+
pip install -r requirements_test.txt >/dev/null
41+
pip install -r requirements_build.txt >/dev/null
42+
pip install -r requirements.txt >/dev/null
43+
44+
- name: Running PyTest
45+
run: |
46+
pytest --version
47+
pytest --cov

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.coverage
2+
__pycache__
3+
*.egg-info
4+
.venv
5+
VERSION
6+
dist/
7+
.coverage*
8+
docs/build/

0 commit comments

Comments
 (0)