Skip to content
Open
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
14 changes: 8 additions & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ end_of_line = crlf
indent_size = 4
continuation_indent_size = 4

[Makefile]
indent_style = tab
end_of_line = lf

[.gitmodules]
indent_style = tab
[poetry.lock]
# generated file.
trim_trailing_whitespace = unset
insert_final_newline = unset
indent_style = unset
indent_size = unset
continuation_indent_size = unset
max_line_length = off
27 changes: 27 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI
on: pull_request

jobs:
ci:
strategy:
fail-fast: false
matrix:
#python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10"]
poetry-version: ["1.7.1"]
os: [ubuntu-22.04]
name: Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
id: cp310
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- run: echo '${{ steps.cp310.outputs.python-version }}'
- run: echo 'Cache Hit ${{ steps.cp310.outputs.cache-hit }}'
- run: poetry install
- run: poetry run python3 -m unittest discover
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/dist/
/poetry.lock
__pycache__/
138 changes: 138 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions poetry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[virtualenvs]
create = true
in-project = true
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
markdown==3.5.2 ; python_version >= "3.10" and python_version < "4.0" \
--hash=sha256:d43323865d89fc0cb9b20c75fc8ad313af307cc087e84b657d9eec768eddeadd \
--hash=sha256:e1ac7b3dc550ee80e602e71c1d168002f062e49f1b11e26a36264dafd4df2ef8
7 changes: 0 additions & 7 deletions setup.py

This file was deleted.