jakob.scheid
4d2e63d560
refactor(ci): use force overwriting feature
2026-09-28 00:17:30 +02:00
jakob.scheid
2187590468
Merge pull request 'Refactor: lint code' ( #43 ) from refactor/lint into main
...
Reviewed-on: #43
2026-09-28 00:08:30 +02:00
jakob.scheid
37308227d9
chore: add noqa comments to wildcard imports
...
Added noqa comments to suppress linting warnings for wildcard imports.
2026-09-28 00:04:53 +02:00
jakob.scheid
f796263c0e
fix: fix syntax errors (target version)
...
Fixed all lines which were syntax errors in the target version (only
multi-line f-strings).
2026-09-28 00:04:53 +02:00
jakob.scheid
896bfcc2dd
style: use target version practices
2026-09-28 00:04:53 +02:00
jakob.scheid
b2a7c9a0e3
style: fix lines which exceed the line length limit
2026-09-28 00:04:44 +02:00
jakob.scheid
ac72eb283c
style: organize imports
...
Organized imports according to Ruff (I001).
2026-09-27 22:23:58 +02:00
jakob.scheid
21c5c20cb5
Merge pull request 'Fix(python-generator): Python namespaces comparision type check' ( #41 ) from fix/python-namespace-comparision-type-check into main
...
Reviewed-on: #41
2026-09-27 22:17:15 +02:00
jakob.scheid
3865db7919
test(python-generator): add test cases for package namespace comparision
...
Added test cases with different types for Python package namespace
comparision test.
2026-09-27 22:16:15 +02:00
jakob.scheid
ec262ef99e
feat(python-generator): check type at package namespace comparision
...
Added type check to the Python package namespace comparision function.
2026-09-27 22:15:57 +02:00
jakob.scheid
f102fa80ce
test(python-generator): add test cases for module namespace comparision
...
Added test cases with different types for Python module namespace
comparision test.
2026-09-27 22:15:55 +02:00
jakob.scheid
6d2b32a736
feat(python-generator): check type at module namespace comparision
...
Added type check to the Python module namespace comparision function.
2026-09-27 22:01:19 +02:00
jakob.scheid
934624fce3
Merge pull request 'Feat(python-generator): protection against accidental overwriting of the output directory' ( #40 ) from feature/protect-against-accidental-overwriting into main
...
Reviewed-on: #40
2026-09-27 21:56:40 +02:00
jakob.scheid
b043a4ea17
docs(changelog): add accidental overwriting protection entry
...
Added a changelog entry for the protection against accidental
overwriting of the output directory.
2026-09-27 17:37:51 +02:00
jakob.scheid
f2b9f47e09
test(cli): add tests for Python force overwriting
...
Added a test to the CLI test file for the documentation generation
error.
2026-09-27 17:36:04 +02:00
jakob.scheid
f0c271f8fd
feat(cli): add Python generator force argument
2026-09-27 15:09:35 +02:00
jakob.scheid
d8508e0fa3
test(python-generator): add tests for force overwriting
...
Added tests to test new output directory deletion behavior:
- output directory overwriting (not empty; force)
- error (not empty; not force)
- nothing (empty; force)
- nothing (empty; not force)
One test was adapted to output directory emptiness check because the
.gitkeep file which is required for Git to track the directory makes it
non-empty.
2026-09-27 15:09:17 +02:00
jakob.scheid
5791358b41
feat(python-generator): add force argument to generator
...
Added a force argument to
PythonDocumentationGenerator.generate_documentation to control whether
the content of the output directory should be overwritten or not, if it
is not empty. If the force argument is True, the output directory
content will first be deleted recursively. If it is False and the output
directory is not empty, a DirectoryNotEmptyError will be raised.
2026-09-27 14:59:28 +02:00
jakob.scheid
0261a7b3a6
feat(exceptions): add DirectoryNotEmptyError
...
Added an OSError subclass for indicating that the directory is not
empty. This exception is explicitly handled by the CLI now.
2026-09-26 16:28:40 +02:00
jakob.scheid
2fe342cbc6
Merge pull request 'Feat(python-generator): remove implicit assumptions of project directory structure' ( #39 ) from feature/no-src-dir-need into main
...
Reviewed-on: #39
2026-09-22 19:28:50 +02:00
jakob.scheid
53ab0e3829
docs(changelog): add project directory structure entry
...
Added an entry that the implicit Python project directory
structure assumptions have been removed to the changelog.
2026-09-22 19:28:34 +02:00
jakob.scheid
c40e965d8d
test(python-generator): update tests to do not assume src/ directories
...
Updated tests to do not implicitly assume a 'src/' directory structure
and removed all 'src/' subdirectory structures in test project
directories (if possible).
2026-09-22 19:26:55 +02:00
jakob.scheid
0fbfe84657
feat(python-generator)!: do not require specific structure
...
Removed all implicit assumptions of a project structure:
- no 'src/' directory is required
- top-level modules are no longer ignored
2026-09-22 18:28:35 +02:00
jakob.scheid
d0ea392f62
Merge pull request 'Feature(python-generator): output directory creation' ( #37 ) from feature/ensure-output-dir-exists into main
...
Reviewed-on: #37
2026-09-22 17:11:04 +02:00
jakob.scheid
717a8c446e
docs(changelog): add docs directory creation entry
...
Added a changelog entry for the creation of the documentation directory
at the Python documentation generator.
2026-09-22 17:08:15 +02:00
jakob.scheid
ec156a538e
test(python-generator): add test for directory creation
...
Added a testing function which tests whether the documentation directory
is created when the documentation is generated.
2026-09-22 17:04:56 +02:00
jakob.scheid
e2264696e8
feat(python-generator): create output directory
...
Now, the output directory and its parents are created when generating
the documentation.
2026-09-22 17:00:34 +02:00
jakob.scheid
6cf3de156d
Merge pull request 'Test(python-generator): name testing function correctly' ( #36 ) from test/name-testing-functions-correctly into main
...
Reviewed-on: #36
2026-09-22 16:49:28 +02:00
jakob.scheid
b6d2fa7db8
test(python-generator): name testing function correctly
2026-09-22 16:47:18 +02:00
jakob.scheid
63cef6f641
Merge pull request 'Fix(python-generator): make generated signatures compliant with PEP 8' ( #35 ) from fix/python-signatures-pep-8-compliance into main
...
Reviewed-on: #35
2026-09-22 16:15:35 +02:00
jakob.scheid
06802c96f6
docs(changelog): add Python signatures PEP 8 compliance entry
...
Added a changelog entry for the PEP 8 compliance of Python function
signatures default values.
2026-09-22 16:13:43 +02:00
jakob.scheid
17c5e4938f
test(python-generator): update tests for PEP 8 compliance
...
Updated test cases to the new default value PEP 8 compliance and added
new test cases to test the new behavior.
2026-09-22 16:13:23 +02:00
jakob.scheid
cc786a6c69
fix(python-generator): make signatures compliant with PEP 8
...
The '=' character at a parameter in the signature was surrounded with
spaces previously. That is no longer the case, unless there is a type
hint.
2026-09-22 15:55:57 +02:00
jakob.scheid
274ed45167
Merge pull request 'Chore(ci): add workflow to generate API reference' ( #29 ) from chore/api-reference-workflow into main
...
Reviewed-on: #29
2026-09-22 13:26:43 +02:00
jakob.scheid
62206db574
docs(changelog): add entry for API reference pipeline
...
Added a changelog entry for the CI pipeline which generated the API
reference.
2026-09-22 13:16:35 +02:00
jakob.scheid
89451c34e3
chore(ci): add workflow to generate API reference
...
Added a workflow which generates the API reference and commits and
pushes it.
2026-09-22 13:15:47 +02:00
jakob.scheid
f6dbefaf6c
Merge pull request 'Docs(readme): reference to Gitea Package Registry instead of concrete installation instructions' ( #28 ) from docs/remove-readme-installation-instructions into main
...
Reviewed-on: #28
2026-09-22 12:45:32 +02:00
jakob.scheid
1a230abf02
docs(changelog): add package registry reference entry
...
Added an entry for the installation instructions update in README to the
changelog.
2026-09-22 12:43:19 +02:00
jakob.scheid
14d6a8984a
docs(readme): update installation instructions
...
Previously, there were instructions how to install the package (over the
old registry) in README.md. They were replaced with a reference to the
Gitea Package Registry.
2026-09-22 12:37:10 +02:00
jakob.scheid
56f650d0ad
Merge pull request 'Chore: conventional commit messages template' ( #25 ) from chore/conventional-commit-msg-template into main
...
Reviewed-on: #25
2026-09-21 22:31:28 +02:00
jakob.scheid
25a92d710e
chore: add setup script
...
Added a setup script in scripts/ to configure Git to use the commit
message template and added a reference to it to README.md.
2026-09-21 22:27:28 +02:00
jakob.scheid
a55d4d4f79
chore: add commit message template
...
Added a commit message template for conventional commits line
length limits.
2026-09-21 22:21:40 +02:00
jakob.scheid
24673a45a5
Merge pull request 'Refactor(python-generator): rename misnamed testing function' ( #23 ) from refactor/package-namespace-testing-function-name into main
...
Reviewed-on: #23
2026-09-21 22:14:42 +02:00
jakob.scheid
0e81d0b9ca
refactor(python-generator): rename misnamed testing function
...
Renamed 'test_PythonPackageNamespace___getitem__' to
'test_PythonPackageNamespace_add'.
2026-09-21 22:12:00 +02:00
jakob.scheid
b5f67caa69
Merge pull request 'Chore(lint): set up Ruff, lint and format' ( #22 ) from chore/ruff into main
...
Reviewed-on: #22
2026-09-21 22:06:22 +02:00
jakob.scheid
de3eac3bb1
chore: lint source code using Ruff
2026-09-21 20:10:09 +02:00
jakob.scheid
aa4a139878
style: format source code using Ruff
2026-09-21 20:10:04 +02:00
jakob.scheid
d9887f34c9
chore(ruff): add Ruff configuration
2026-09-18 22:40:39 +02:00
jakob.scheid
178e6b0bd8
chore(deps): add Ruff dependency
2026-09-18 22:31:09 +02:00
jakob.scheid
f680110110
Merge pull request 'Style: trailing commas in multi-line statements' ( #21 ) from style/multiline-trailing-commas into main
...
Reviewed-on: #21
2026-09-18 22:22:15 +02:00