From fe1e59e731b1c940a8d582c3b01857d98aa24fed Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Thu, 18 Dec 2025 21:36:11 -0800 Subject: [PATCH] fix __all__ for module --- .github/workflows/python-package.yml | 3 +-- pyproject.toml | 6 ++++-- src/pycmx/__init__.py | 2 ++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 66c5291..f381ab5 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -30,8 +30,7 @@ jobs: - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - flake8 . --count --max-line-length=79 --statistics + ruff check src/ - name: Test with pytest run: | pytest diff --git a/pyproject.toml b/pyproject.toml index 4c2164f..389f4e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,8 +32,7 @@ doc = [ 'sphinx_rtd_theme >= 1.1.1' ] dev = [ - 'flake8', - 'pytest' + 'pytest', ] [project.urls] @@ -43,6 +42,9 @@ Repository = "https://github.com/iluvcapra/pycmx.git" Tracker = "https://github.com/iluvcapra/pycmx/issues" [dependency-groups] +dev = [ + "ruff>=0.14.10", +] doc = ['sphinx', 'sphinx_rtd_theme'] diff --git a/src/pycmx/__init__.py b/src/pycmx/__init__.py index 2877325..5fdcbd1 100644 --- a/src/pycmx/__init__.py +++ b/src/pycmx/__init__.py @@ -11,3 +11,5 @@ from .parse_cmx_events import parse_cmx3600 from .transition import Transition from .event import Event from .edit import Edit + +__all__ = ("parse_cmx3600", "Transition", "Event", "Edit")