Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
c163bfa
Fix failing test by setting the expected timezone
Mar 14, 2025
7ccd320
Remove temporary test files from repository
Mar 14, 2025
bc2726f
Create python-app.yml
mholschbach Mar 14, 2025
0eecb10
Update python-app.yml
mholschbach Mar 14, 2025
3bbe025
Update python-app.yml
mholschbach Mar 14, 2025
5043e80
Update python-app.yml
mholschbach Mar 14, 2025
6f7d494
Update python-app.yml
mholschbach Mar 14, 2025
e14f68b
Create ruff.yml
mholschbach Mar 14, 2025
08a880f
Update __init__.py
mholschbach Mar 14, 2025
25adac5
Create dependabot.yml
mholschbach Mar 24, 2025
c713e7f
Update and rename python-app.yml to tox.yml
mholschbach Apr 16, 2025
82af10c
Update tox.yml
mholschbach Apr 16, 2025
00edd87
Update tox.ini
mholschbach Apr 16, 2025
297482d
Update tox.yml
mholschbach Apr 16, 2025
947bcdd
Update tox.yml
mholschbach Apr 16, 2025
c6f3e2e
Update tox.ini
mholschbach Apr 16, 2025
1b6aafc
Update README.md
mholschbach Apr 16, 2025
342fdf2
Modifying pyproject for use with poetry
mholschbach Apr 17, 2025
a846f01
Many small changes for type checking with mypy
mholschbach Apr 17, 2025
4b71b33
Update pyproject.toml
mholschbach Apr 17, 2025
e8ed1d1
Create codeql.yml
mholschbach Apr 18, 2025
3f55f6e
Update ruff.yml to reduce permissions
mholschbach Apr 18, 2025
afb0ddd
Moving types-lxml to dev dependencies
mholschbach Apr 28, 2025
f0501f5
Bump lxml from 5.3.2 to 5.4.0
dependabot[bot] Apr 28, 2025
c8f6bdc
Merge pull request #2 from mholschbach/dependabot/pip/lxml-5.4.0
mholschbach Apr 28, 2025
67e6ce2
Bump ruff from 0.11.5 to 0.11.7
dependabot[bot] Apr 28, 2025
5422f8e
Merge pull request #3 from mholschbach/dependabot/pip/ruff-0.11.7
mholschbach Apr 28, 2025
da3545d
Bump ruff from 0.11.7 to 0.11.8
dependabot[bot] May 5, 2025
91dfa9f
Merge pull request #4 from mholschbach/dependabot/pip/ruff-0.11.8
mholschbach May 9, 2025
a0cf3e8
Bump ruff from 0.11.8 to 0.11.10
dependabot[bot] May 19, 2025
45b8df5
Merge pull request #7 from mholschbach/dependabot/pip/ruff-0.11.10
mholschbach May 20, 2025
5f7b0c2
Bump tox from 4.25.0 to 4.26.0
dependabot[bot] May 20, 2025
420f90f
Merge pull request #6 from mholschbach/dependabot/pip/tox-4.26.0
mholschbach May 20, 2025
c76e993
Bump ruff from 0.11.10 to 0.11.11
dependabot[bot] May 26, 2025
36150d1
Merge pull request #8 from mholschbach/dependabot/pip/ruff-0.11.11
mholschbach May 26, 2025
2948bfe
Bump mypy from 1.15.0 to 1.16.0
dependabot[bot] Jun 2, 2025
ad3f3fd
Merge pull request #10 from mholschbach/dependabot/pip/mypy-1.16.0
mholschbach Jun 8, 2025
746d6b4
Bump ruff from 0.11.11 to 0.11.12
dependabot[bot] Jun 8, 2025
937984a
Merge pull request #9 from mholschbach/dependabot/pip/ruff-0.11.12
mholschbach Jun 8, 2025
1eec8c3
Bump pytest from 8.3.5 to 8.4.0
dependabot[bot] Jun 9, 2025
f083c39
Merge pull request #11 from mholschbach/dependabot/pip/pytest-8.4.0
mholschbach Jun 21, 2025
9a1430f
Bump pytest-cov from 6.1.1 to 6.2.1
dependabot[bot] Jun 21, 2025
5135e58
Merge pull request #12 from mholschbach/dependabot/pip/pytest-cov-6.2.1
mholschbach Jun 21, 2025
9bf666d
Bump pytest from 8.4.0 to 8.4.1
dependabot[bot] Jun 23, 2025
768de32
Merge pull request #13 from mholschbach/dependabot/pip/pytest-8.4.1
mholschbach Jun 23, 2025
0126f17
Bump mypy from 1.16.0 to 1.16.1
dependabot[bot] Jun 23, 2025
853117a
Merge pull request #14 from mholschbach/dependabot/pip/mypy-1.16.1
mholschbach Jun 23, 2025
5f95c4d
Bump ruff from 0.11.13 to 0.12.0
dependabot[bot] Jun 23, 2025
1d5a20a
Merge pull request #16 from mholschbach/dependabot/pip/ruff-0.12.0
mholschbach Jun 23, 2025
b8a18a9
Bump tox from 4.26.0 to 4.27.0
dependabot[bot] Jun 23, 2025
0a61682
Merge pull request #15 from mholschbach/dependabot/pip/tox-4.27.0
mholschbach Jun 23, 2025
7707829
Bump ruff from 0.12.0 to 0.12.1
dependabot[bot] Jun 30, 2025
d5188bc
Merge pull request #17 from mholschbach/dependabot/pip/ruff-0.12.1
mholschbach Jul 1, 2025
78188f0
Bump ruff from 0.12.1 to 0.12.2
dependabot[bot] Jul 7, 2025
5f42311
Merge pull request #18 from mholschbach/dependabot/pip/ruff-0.12.2
mholschbach Jul 7, 2025
bfc710c
Bump ruff from 0.12.2 to 0.12.3
dependabot[bot] Jul 14, 2025
bfc1055
Merge pull request #19 from mholschbach/dependabot/pip/ruff-0.12.3
mholschbach Jul 14, 2025
721eb32
Bump ruff from 0.12.3 to 0.12.8
dependabot[bot] Aug 11, 2025
3338574
Merge pull request #20 from mholschbach/dependabot/pip/ruff-0.12.8
mholschbach Aug 11, 2025
a2471a6
Bump tox from 4.27.0 to 4.28.4
dependabot[bot] Aug 11, 2025
bd1c91b
Merge pull request #21 from mholschbach/dependabot/pip/tox-4.28.4
mholschbach Aug 11, 2025
eefa412
Bump mypy from 1.16.1 to 1.17.1
dependabot[bot] Aug 11, 2025
f875328
Merge pull request #22 from mholschbach/dependabot/pip/mypy-1.17.1
mholschbach Aug 11, 2025
a650b70
Bump ruff from 0.12.8 to 0.12.10
dependabot[bot] Aug 25, 2025
e60b1e6
Merge pull request #23 from mholschbach/dependabot/pip/ruff-0.12.10
mholschbach Aug 26, 2025
41c49f2
Bump ruff from 0.12.10 to 0.12.11
dependabot[bot] Sep 1, 2025
0f3221b
Merge pull request #24 from mholschbach/dependabot/pip/ruff-0.12.11
mholschbach Sep 4, 2025
d112894
Bump tox from 4.28.4 to 4.29.0
dependabot[bot] Sep 4, 2025
c3dac80
Merge pull request #25 from mholschbach/dependabot/pip/tox-4.29.0
mholschbach Sep 4, 2025
4e61a47
Bump types-lxml from 2025.3.30 to 2025.8.25
dependabot[bot] Sep 4, 2025
578e19f
Merge pull request #26 from mholschbach/dependabot/pip/types-lxml-202…
mholschbach Sep 4, 2025
d58c3a6
Bump pytest from 8.4.1 to 8.4.2
dependabot[bot] Sep 8, 2025
dcd17e2
Merge pull request #27 from mholschbach/dependabot/pip/pytest-8.4.2
mholschbach Sep 10, 2025
68b92ec
Bump pytest-cov from 6.2.1 to 6.3.0
dependabot[bot] Sep 10, 2025
117da98
Merge pull request #28 from mholschbach/dependabot/pip/pytest-cov-6.3.0
mholschbach Sep 10, 2025
d127587
Bump ruff from 0.12.11 to 0.12.12
dependabot[bot] Sep 10, 2025
ef54b6e
Merge pull request #29 from mholschbach/dependabot/pip/ruff-0.12.12
mholschbach Sep 10, 2025
07dabd0
Bump mypy from 1.17.1 to 1.18.1
dependabot[bot] Sep 15, 2025
4877563
Merge pull request #30 from mholschbach/dependabot/pip/mypy-1.18.1
mholschbach Sep 19, 2025
958be6e
Bump mypy from 1.18.1 to 1.18.2
dependabot[bot] Sep 22, 2025
410f1a0
Merge pull request #31 from mholschbach/dependabot/pip/mypy-1.18.2
mholschbach Sep 24, 2025
c029b96
Bump ruff from 0.13.0 to 0.13.1
dependabot[bot] Sep 24, 2025
fdd14fe
Merge pull request #32 from mholschbach/dependabot/pip/ruff-0.13.1
mholschbach Sep 24, 2025
af7d697
Bump ruff from 0.13.1 to 0.13.2
dependabot[bot] Sep 29, 2025
cfdca16
Merge pull request #33 from mholschbach/dependabot/pip/ruff-0.13.2
mholschbach Oct 4, 2025
471eefc
Bump tox from 4.30.2 to 4.30.3
dependabot[bot] Oct 6, 2025
abba680
Merge pull request #34 from mholschbach/dependabot/pip/tox-4.30.3
mholschbach Oct 9, 2025
7040384
Bump ruff from 0.13.2 to 0.13.3
dependabot[bot] Oct 9, 2025
67fa678
Merge pull request #35 from mholschbach/dependabot/pip/ruff-0.13.3
mholschbach Oct 9, 2025
1b4304e
Bump tox from 4.30.3 to 4.31.0
dependabot[bot] Oct 13, 2025
0bfe05f
Merge pull request #36 from mholschbach/dependabot/pip/tox-4.31.0
mholschbach Oct 19, 2025
a2acfa6
Bump ruff from 0.14.0 to 0.14.1
dependabot[bot] Oct 20, 2025
cbb22f6
Merge pull request #37 from mholschbach/dependabot/pip/ruff-0.14.1
mholschbach Oct 20, 2025
dc69ca1
Bump tox from 4.31.0 to 4.32.0
dependabot[bot] Oct 27, 2025
8bcc8be
Merge pull request #38 from mholschbach/dependabot/pip/tox-4.32.0
mholschbach Oct 27, 2025
f6709ba
Bump ruff from 0.14.1 to 0.14.2
dependabot[bot] Oct 27, 2025
65ef4f6
Merge pull request #39 from mholschbach/dependabot/pip/ruff-0.14.2
mholschbach Oct 27, 2025
8b86dee
Bump ruff from 0.14.2 to 0.14.3
dependabot[bot] Nov 3, 2025
c709040
Merge pull request #40 from mholschbach/dependabot/pip/ruff-0.14.3
mholschbach Nov 3, 2025
1cbe16e
Bump pytest from 8.4.2 to 9.0.0
dependabot[bot] Nov 10, 2025
f74b24c
Merge pull request #41 from mholschbach/dependabot/pip/pytest-9.0.0
mholschbach Nov 11, 2025
3147486
Bump ruff from 0.14.3 to 0.14.4
dependabot[bot] Nov 11, 2025
d6f0dbf
Merge pull request #42 from mholschbach/dependabot/pip/ruff-0.14.4
mholschbach Nov 11, 2025
fca9317
Bump pytest from 9.0.0 to 9.0.1
dependabot[bot] Nov 24, 2025
bfe8b84
Merge pull request #43 from mholschbach/dependabot/pip/pytest-9.0.1
mholschbach Nov 24, 2025
47329e0
Bump ruff from 0.14.4 to 0.14.6
dependabot[bot] Nov 24, 2025
e8d9923
Merge pull request #44 from mholschbach/dependabot/pip/ruff-0.14.6
mholschbach Nov 25, 2025
48e4506
Bump types-lxml from 2025.8.25 to 2025.11.25
dependabot[bot] Dec 1, 2025
3a7a494
Merge pull request #45 from mholschbach/dependabot/pip/types-lxml-202…
mholschbach Dec 3, 2025
eee0912
Bump ruff from 0.14.6 to 0.14.7
dependabot[bot] Dec 3, 2025
0eb2d98
Merge pull request #46 from mholschbach/dependabot/pip/ruff-0.14.7
mholschbach Dec 3, 2025
1bd3773
Bump mypy from 1.18.2 to 1.19.0
dependabot[bot] Dec 3, 2025
1179ccc
Merge pull request #47 from mholschbach/dependabot/pip/mypy-1.19.0
mholschbach Dec 3, 2025
8f90f36
Bump pytest from 9.0.1 to 9.0.2
dependabot[bot] Dec 8, 2025
2728908
Merge pull request #48 from mholschbach/dependabot/pip/pytest-9.0.2
mholschbach Dec 11, 2025
f062787
Bump ruff from 0.14.7 to 0.14.8
dependabot[bot] Dec 11, 2025
4dcbb7a
Merge pull request #49 from mholschbach/dependabot/pip/ruff-0.14.8
mholschbach Dec 11, 2025
64603d2
Bump ruff from 0.14.8 to 0.14.9
dependabot[bot] Dec 15, 2025
6426229
Merge pull request #50 from mholschbach/dependabot/pip/ruff-0.14.9
mholschbach Dec 15, 2025
9ad78f2
Bump mypy from 1.19.0 to 1.19.1
dependabot[bot] Dec 15, 2025
86070f0
Merge pull request #51 from mholschbach/dependabot/pip/mypy-1.19.1
mholschbach Dec 15, 2025
96dbfeb
Bump ruff from 0.14.9 to 0.14.10
dependabot[bot] Dec 22, 2025
a6bc4ff
Merge pull request #52 from mholschbach/dependabot/pip/ruff-0.14.10
mholschbach Dec 22, 2025
002ed77
Bump tox from 4.32.0 to 4.33.0
dependabot[bot] Jan 5, 2026
22ecbbe
Merge pull request #53 from mholschbach/dependabot/pip/tox-4.33.0
mholschbach Jan 5, 2026
916446c
Bump types-lxml from 2025.11.25 to 2026.1.1
dependabot[bot] Jan 5, 2026
d58205f
Merge pull request #54 from mholschbach/dependabot/pip/types-lxml-202…
mholschbach Jan 5, 2026
e3691e8
Bump ruff from 0.14.10 to 0.14.11
dependabot[bot] Jan 12, 2026
188fdc2
Merge pull request #55 from mholschbach/dependabot/pip/ruff-0.14.11
mholschbach Jan 14, 2026
f8ab260
Bump tox from 4.33.0 to 4.34.1
dependabot[bot] Jan 14, 2026
b2902f8
Merge pull request #56 from mholschbach/dependabot/pip/tox-4.34.1
mholschbach Jan 14, 2026
bdad8d4
Bump virtualenv from 20.35.4 to 20.36.1
dependabot[bot] Jan 15, 2026
d9fb576
Merge pull request #57 from mholschbach/dependabot/pip/virtualenv-20.…
mholschbach Jan 15, 2026
c2f333d
Bump filelock from 3.20.2 to 3.20.3
dependabot[bot] Jan 15, 2026
6e8819e
Merge pull request #58 from mholschbach/dependabot/pip/filelock-3.20.3
mholschbach Jan 15, 2026
9ca7d5f
Bump ruff from 0.14.11 to 0.14.13
dependabot[bot] Jan 19, 2026
313a24c
Merge pull request #59 from mholschbach/dependabot/pip/ruff-0.14.13
mholschbach Jan 19, 2026
a436f94
Bump ruff from 0.14.13 to 0.14.14
dependabot[bot] Jan 26, 2026
412c7f6
Merge pull request #60 from mholschbach/dependabot/pip/ruff-0.14.14
mholschbach Feb 1, 2026
17942c7
Bump ruff from 0.14.14 to 0.15.0
dependabot[bot] Feb 9, 2026
03341ac
Merge pull request #61 from mholschbach/dependabot/pip/ruff-0.15.0
mholschbach Feb 9, 2026
b8a9c44
Bump tox from 4.34.1 to 4.36.0
dependabot[bot] Feb 16, 2026
20f3c68
Merge pull request #62 from mholschbach/dependabot/pip/tox-4.36.0
mholschbach Feb 16, 2026
ac855d0
Bump ruff from 0.15.0 to 0.15.1
dependabot[bot] Feb 16, 2026
6fa7e8a
Merge pull request #63 from mholschbach/dependabot/pip/ruff-0.15.1
mholschbach Feb 16, 2026
199d051
Bump types-lxml from 2026.1.1 to 2026.2.16
dependabot[bot] Feb 23, 2026
796ab83
Merge pull request #64 from mholschbach/dependabot/pip/types-lxml-202…
mholschbach Feb 28, 2026
353a3ec
Bump tox from 4.36.0 to 4.44.0
dependabot[bot] Feb 28, 2026
2637915
Merge pull request #65 from mholschbach/dependabot/pip/tox-4.44.0
mholschbach Feb 28, 2026
81490fc
Bump ruff from 0.15.1 to 0.15.2
dependabot[bot] Feb 28, 2026
2ca7d66
Merge pull request #66 from mholschbach/dependabot/pip/ruff-0.15.2
mholschbach Feb 28, 2026
4e2a666
Bump tox from 4.46.3 to 4.47.0
dependabot[bot] Mar 2, 2026
69d1797
Merge pull request #67 from mholschbach/dependabot/pip/tox-4.47.0
mholschbach Mar 3, 2026
7e9d7a1
Bump ruff from 0.15.4 to 0.15.5
dependabot[bot] Mar 9, 2026
b652951
Merge pull request #68 from mholschbach/dependabot/pip/ruff-0.15.5
mholschbach Mar 11, 2026
284b675
Bump tox from 4.47.0 to 4.49.0
dependabot[bot] Mar 11, 2026
d0b8476
Merge pull request #69 from mholschbach/dependabot/pip/tox-4.49.0
mholschbach Mar 11, 2026
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
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
100 changes: 100 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL Advanced"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '25 4 * * 5'

jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: python
build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4

# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
# or others). This is typically only required for manual builds.
# - name: Setup runtime (example)
# uses: actions/setup-example@v1

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
12 changes: 12 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Ruff
on: [ push, pull_request]
permissions:
contents: read
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
with:
src: "./src/opc/"
31 changes: 31 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Tox

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [ '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest lxml lxml-util tox tox-gh-actions
- name: Test with tox
run: tox
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,5 @@ cython_debug/
#.idea/

.vscode/
.python-version
.poetry.lock
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ help:
@echo OPTIONS:
@echo " help"
@echo " test"
@echo " mypy"
@echo " docclean"
@echo " docapidoc"
@echo " dochtml"
Expand All @@ -18,7 +19,10 @@ help:
.PHONY = help, test, docclean, docapidoc, dochtml, clean, setup, build, testupload, upload, tox

test:
pytest -s -v tests/
poetry run pytest --cov-report term-missing --cov-report html --cov-branch --cov src

mypy:
poetry run mypy src

docclean:
$(MAKE) -C docs clean
Expand Down Expand Up @@ -51,4 +55,4 @@ upload:

tox:
$(MAKE) clean
tox
tox
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

python-opc-lite is a light weight python library for Open Package Convention used for Open Office XML packages

![RUFF](https://github.com/mholschbach/python-opc-lite/actions/workflows/ruff.yml/badge.svg)
![TOX](https://github.com/mholschbach/python-opc-lite/actions/workflows/tox.yml/badge.svg)
![Dependabot](https://github.com/mholschbach/python-opc-lite/actions/workflows/dependabot/dependabot-updates/badge.svg)

## Overview

Expand Down
18 changes: 9 additions & 9 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import os
import sys
sys.path.insert(0, os.path.abspath('../src'))

sys.path.insert(0, os.path.abspath("../src"))

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'python-opc-lite'
copyright = '2023, Karim S'
author = 'Karim S'
project = "python-opc-lite"
copyright = "2023, Karim S"
author = "Karim S"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand All @@ -25,20 +26,19 @@
"sphinx_inline_tabs",
"sphinx_removed_in",
"sphinxext.opengraph",

]

intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]


# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'furo'
html_static_path = ['_static']
html_theme = "furo"
html_static_path = ["_static"]

pygments_style = "sphinx"

Expand Down
Loading