Skip to content

Commit 31f9034

Browse files
author
patrick
committed
init project
0 parents  commit 31f9034

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+3675
-0
lines changed

.editorignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Check http://editorconfig.org for more information
2+
# This is the main config file for this project:
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
indent_style = space
10+
indent_size = 2
11+
trim_trailing_whitespace = true
12+
13+
[*.{py, pyi}]
14+
indent_style = space
15+
indent_size = 4
16+
17+
[Makefile]
18+
indent_style = tab
19+
20+
[*.md]
21+
trim_trailing_whitespace = false
22+
23+
[*.{diff,patch}]
24+
trim_trailing_whitespace = false

.github/dependabot.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Configuration: https://dependabot.com/docs/config-file/
2+
# Docs: https://docs.github.com/en/github/administering-a-repository/keeping-your-dependencies-updated-automatically
3+
4+
version: 2
5+
6+
updates:
7+
- package-ecosystem: "pip"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
allow:
12+
- dependency-type: "all"
13+
commit-message:
14+
prefix: ":arrow_up:"
15+
open-pull-requests-limit: 50
16+
17+
- package-ecosystem: "github-actions"
18+
directory: "/"
19+
schedule:
20+
interval: "weekly"
21+
allow:
22+
- dependency-type: "all"
23+
commit-message:
24+
prefix: ":arrow_up:"
25+
open-pull-requests-limit: 50

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ["3.10", "3.11"]
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up Python ${{ matrix.python-version }}
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
19+
- name: Install pdm
20+
run: pipx install pdm
21+
22+
- name: Set up cache
23+
uses: actions/cache@v4.0.2
24+
with:
25+
path: .venv
26+
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
27+
- name: Install dependencies
28+
run: |
29+
pdm install
30+
31+
- name: Run test and code styles
32+
run: |
33+
pdm test
34+
pdm cleanup
35+
- name: Run Docs Deployment
36+
run: pdm docs-deploy

0 commit comments

Comments
 (0)