Bump certifi (#512) Bumps the pip group with 1 update in the / directory: [certifi](https://github.com/certifi/python-certifi). Updates `certifi` from 2026.7.22 to 2026.10.18 - [Commits](https://github.com/certifi/python-certifi/compare/2026.07.22...2026.10.18) --- updated-dependencies: - dependency-name: certifi dependency-version: 2026.10.18 dependency-type: indirect dependency-group: pip ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Recent Commits to python-patterns:master (3)
-
Bump certifi (#512)
-
Bump pytest from 9.1.1 to 9.2.0 (#513)
Bump pytest from 9.1.1 to 9.2.0 (#513) Bumps [pytest](https://github.com/pytest-dev/pytest) from 9.1.1 to 9.2.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/9.1.1...9.2.0) --- updated-dependencies: - dependency-name: pytest dependency-version: 9.2.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump mypy from 2.4.0 to 2.4.1 (#514)
Bump mypy from 2.4.0 to 2.4.1 (#514) Bumps [mypy](https://github.com/python/mypy) from 2.4.0 to 2.4.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v2.4.0...v2.4.1) --- updated-dependencies: - dependency-name: mypy dependency-version: 2.4.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump virtualenv (#511)
Bump virtualenv (#511) Bumps the pip group with 1 update in the / directory: [virtualenv](https://github.com/pypa/virtualenv). Updates `virtualenv` from 21.14.7 to 21.14.13 - [Release notes](https://github.com/pypa/virtualenv/releases) - [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/virtualenv/compare/21.14.7...21.14.13) --- updated-dependencies: - dependency-name: virtualenv dependency-version: 21.14.13 dependency-type: indirect dependency-group: pip ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Merge remote-tracking branch 'origin/master'
Merge remote-tracking branch 'origin/master'
-
Bump black from 26.10.0 to 26.10.1 (#508)
Bump black from 26.10.0 to 26.10.1 (#508) Bumps [black](https://github.com/psf/black) from 26.10.0 to 26.10.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/26.10.0...26.10.1) --- updated-dependencies: - dependency-name: black dependency-version: 26.10.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump pipx from 1.17.11 to 1.17.12 (#509)
Bump pipx from 1.17.11 to 1.17.12 (#509) Bumps [pipx](https://github.com/pypa/pipx) from 1.17.11 to 1.17.12. - [Release notes](https://github.com/pypa/pipx/releases) - [Changelog](https://github.com/pypa/pipx/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/pipx/compare/1.17.11...1.17.12) --- updated-dependencies: - dependency-name: pipx dependency-version: 1.17.12 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump tox from 4.64.8 to 4.65.0 (#510)
Bump tox from 4.64.8 to 4.65.0 (#510) Bumps [tox](https://github.com/tox-dev/tox) from 4.64.8 to 4.65.0. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/4.64.8...4.65.0) --- updated-dependencies: - dependency-name: tox dependency-version: 4.65.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump urllib3 from 2.7.0 to 2.8.0 in the pip group across 1 directory …
Bump urllib3 from 2.7.0 to 2.8.0 in the pip group across 1 directory (#507) Bumps the pip group with 1 update in the / directory: [urllib3](https://github.com/urllib3/urllib3). Updates `urllib3` from 2.7.0 to 2.8.0 - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/2.7.0...2.8.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.8.0 dependency-type: indirect dependency-group: pip ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump mypy from 2.3.1 to 2.4.0 (#501)
Bump mypy from 2.3.1 to 2.4.0 (#501) Bumps [mypy](https://github.com/python/mypy) from 2.3.1 to 2.4.0. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v2.3.1...v2.4.0) --- updated-dependencies: - dependency-name: mypy dependency-version: 2.4.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump black from 26.5.1 to 26.10.0 (#502)
Bump black from 26.5.1 to 26.10.0 (#502) Bumps [black](https://github.com/psf/black) from 26.5.1 to 26.10.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/26.5.1...26.10.0) --- updated-dependencies: - dependency-name: black dependency-version: 26.10.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump tox from 4.64.4 to 4.64.8 (#503)
Bump tox from 4.64.4 to 4.64.8 (#503) Bumps [tox](https://github.com/tox-dev/tox) from 4.64.4 to 4.64.8. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/4.64.4...4.64.8) --- updated-dependencies: - dependency-name: tox dependency-version: 4.64.8 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump isort from 9.0.1 to 9.0.2 (#504)
Bump isort from 9.0.1 to 9.0.2 (#504) Bumps [isort](https://github.com/PyCQA/isort) from 9.0.1 to 9.0.2. - [Release notes](https://github.com/PyCQA/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/PyCQA/isort/compare/9.0.1...9.0.2) --- updated-dependencies: - dependency-name: isort dependency-version: 9.0.2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump pipx from 1.17.7 to 1.17.11 (#505)
Bump pipx from 1.17.7 to 1.17.11 (#505) Bumps [pipx](https://github.com/pypa/pipx) from 1.17.7 to 1.17.11. - [Release notes](https://github.com/pypa/pipx/releases) - [Changelog](https://github.com/pypa/pipx/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/pipx/compare/1.17.7...1.17.11) --- updated-dependencies: - dependency-name: pipx dependency-version: 1.17.11 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
fix(graph_search): avoid KeyError in BFS when a node has no outgoing …
fix(graph_search): avoid KeyError in BFS when a node has no outgoing edges (#506) find_shortest_path_bfs indexed self.graph[value] directly while expanding the queue. Any node reachable in the graph but not present as a key (a leaf node with no outgoing edges, as in a typical adjacency list) raised a KeyError instead of being treated as having no neighbors. The DFS methods already handle this correctly via self.graph.get(start, []); bring BFS in line with that and add a regression test.
-
Bump tox from 4.63.0 to 4.64.4 (#498)
Bump tox from 4.63.0 to 4.64.4 (#498) Bumps [tox](https://github.com/tox-dev/tox) from 4.63.0 to 4.64.4. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/4.63.0...4.64.4) --- updated-dependencies: - dependency-name: tox dependency-version: 4.64.4 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump flake8 from 7.3.0 to 7.4.1 (#499)
Bump flake8 from 7.3.0 to 7.4.1 (#499) Bumps [flake8](https://github.com/pycqa/flake8) from 7.3.0 to 7.4.1. - [Commits](https://github.com/pycqa/flake8/compare/7.3.0...7.4.1) --- updated-dependencies: - dependency-name: flake8 dependency-version: 7.4.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump pipx from 1.17.5 to 1.17.7 (#500)
Bump pipx from 1.17.5 to 1.17.7 (#500) Bumps [pipx](https://github.com/pypa/pipx) from 1.17.5 to 1.17.7. - [Release notes](https://github.com/pypa/pipx/releases) - [Changelog](https://github.com/pypa/pipx/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/pipx/compare/1.17.5...1.17.7) --- updated-dependencies: - dependency-name: pipx dependency-version: 1.17.7 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Merge branch 'master' of github.com:faif/python-patterns
Merge branch 'master' of github.com:faif/python-patterns
-
Bump pipx from 1.17.2 to 1.17.5 (#497)
Bump pipx from 1.17.2 to 1.17.5 (#497) * Bump pipx from 1.17.2 to 1.17.5 Bumps [pipx](https://github.com/pypa/pipx) from 1.17.2 to 1.17.5. - [Release notes](https://github.com/pypa/pipx/releases) - [Changelog](https://github.com/pypa/pipx/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/pipx/compare/1.17.2...1.17.5) --- updated-dependencies: - dependency-name: pipx dependency-version: 1.17.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Fix filelock and virtualenv dependency conflict * Update filelock for tox compatibility --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sakis Kasampalis <s.kasampalis@zoho.com> Co-authored-by: Sakis K <faif@users.noreply.github.com>
-
Merge branch 'master' of github.com:faif/python-patterns
Merge branch 'master' of github.com:faif/python-patterns
-
update gitignore file
update gitignore file
-
Bump tox from 4.61.4 to 4.63.0 (#496)
Bump tox from 4.61.4 to 4.63.0 (#496) Bumps [tox](https://github.com/tox-dev/tox) from 4.61.4 to 4.63.0. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/4.61.4...4.63.0) --- updated-dependencies: - dependency-name: tox dependency-version: 4.63.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Fix flyweight_with_metaclass sharing instances for different argument…
Fix flyweight_with_metaclass sharing instances for different arguments (#495) The pool key concatenated str(arg) with no separator, so Card2('1', '0') and Card2('10') (or Card2(1) and Card2('1')) got the same key and the second call returned the first call's instance. Use repr of the class name, args and sorted kwargs instead, which also makes the key independent of kwarg order. Add tests, since the module had none. Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com> -
Bump tox from 4.61.2 to 4.61.4 (#493)
Bump tox from 4.61.2 to 4.61.4 (#493) Bumps [tox](https://github.com/tox-dev/tox) from 4.61.2 to 4.61.4. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/4.61.2...4.61.4) --- updated-dependencies: - dependency-name: tox dependency-version: 4.61.4 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump build from 1.6.0 to 1.6.1 (#494)
Bump build from 1.6.0 to 1.6.1 (#494) Bumps [build](https://github.com/pypa/build) from 1.6.0 to 1.6.1. - [Release notes](https://github.com/pypa/build/releases) - [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/build/compare/1.6.0...1.6.1) --- updated-dependencies: - dependency-name: build dependency-version: 1.6.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump tox from 4.61.1 to 4.61.2 (#490)
Bump tox from 4.61.1 to 4.61.2 (#490) Bumps [tox](https://github.com/tox-dev/tox) from 4.61.1 to 4.61.2. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/4.61.1...4.61.2) --- updated-dependencies: - dependency-name: tox dependency-version: 4.61.2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump pytest-randomly from 4.1.0 to 5.0.0 (#491)
Bump pytest-randomly from 4.1.0 to 5.0.0 (#491) Bumps [pytest-randomly](https://github.com/pytest-dev/pytest-randomly) from 4.1.0 to 5.0.0. - [Changelog](https://github.com/pytest-dev/pytest-randomly/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-randomly/compare/4.1.0...5.0.0) --- updated-dependencies: - dependency-name: pytest-randomly dependency-version: 5.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump pipx from 1.17.1 to 1.17.2 (#492)
Bump pipx from 1.17.1 to 1.17.2 (#492) Bumps [pipx](https://github.com/pypa/pipx) from 1.17.1 to 1.17.2. - [Release notes](https://github.com/pypa/pipx/releases) - [Changelog](https://github.com/pypa/pipx/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/pipx/compare/1.17.1...1.17.2) --- updated-dependencies: - dependency-name: pipx dependency-version: 1.17.2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump actions/setup-python from 6 to 7 (#478)
Bump actions/setup-python from 6 to 7 (#478) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump mypy from 2.3.0 to 2.3.1 (#483)
Bump mypy from 2.3.0 to 2.3.1 (#483) Bumps [mypy](https://github.com/python/mypy) from 2.3.0 to 2.3.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v2.3.0...v2.3.1) --- updated-dependencies: - dependency-name: mypy dependency-version: 2.3.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump tox from 4.58.0 to 4.61.1 (#485)
Bump tox from 4.58.0 to 4.61.1 (#485) Bumps [tox](https://github.com/tox-dev/tox) from 4.58.0 to 4.61.1. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/4.58.0...4.61.1) --- updated-dependencies: - dependency-name: tox dependency-version: 4.61.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump pipx from 1.16.5 to 1.17.1 (#486)
Bump pipx from 1.16.5 to 1.17.1 (#486) Bumps [pipx](https://github.com/pypa/pipx) from 1.16.5 to 1.17.1. - [Release notes](https://github.com/pypa/pipx/releases) - [Changelog](https://github.com/pypa/pipx/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/pipx/compare/1.16.5...1.17.1) --- updated-dependencies: - dependency-name: pipx dependency-version: 1.17.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump build from 1.5.0 to 1.6.0 (#487)
Bump build from 1.5.0 to 1.6.0 (#487) Bumps [build](https://github.com/pypa/build) from 1.5.0 to 1.6.0. - [Release notes](https://github.com/pypa/build/releases) - [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/build/compare/1.5.0...1.6.0) --- updated-dependencies: - dependency-name: build dependency-version: 1.6.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump isort from 8.0.1 to 9.0.1 (#488)
Bump isort from 8.0.1 to 9.0.1 (#488) Bumps [isort](https://github.com/PyCQA/isort) from 8.0.1 to 9.0.1. - [Release notes](https://github.com/PyCQA/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/PyCQA/isort/compare/8.0.1...9.0.1) --- updated-dependencies: - dependency-name: isort dependency-version: 9.0.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump actions/checkout from 6 to 7 (#479)
Bump actions/checkout from 6 to 7 (#479) Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump pipx from 1.16.2 to 1.16.5 (#480)
Bump pipx from 1.16.2 to 1.16.5 (#480) Bumps [pipx](https://github.com/pypa/pipx) from 1.16.2 to 1.16.5. - [Release notes](https://github.com/pypa/pipx/releases) - [Changelog](https://github.com/pypa/pipx/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/pipx/compare/1.16.2...1.16.5) --- updated-dependencies: - dependency-name: pipx dependency-version: 1.16.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Fix failed tests, linter errors, and restructure (#477)
Fix failed tests, linter errors, and restructure (#477) * Switch development dependencies to Pipenv lockfile - add Pipfile and Dependabot-compatible Pipfile.lock - update lint, tox, CI, Travis, and Makefile workflows - support Python 3.10 through 3.14 - remove the pip-tools requirements lockfile - standardize linting, type checking, and tests * Streamline GitHub Actions CI workflow - consolidate duplicate lint and PR workflows - run strict linting, type checking, and tests - test against Python 3.10 through 3.14 - install dependencies from Pipfile.lock - add caching, timeouts, minimal permissions, and concurrency control - remove ignored failures and fragile changed-file logic
-
Remove singleton pattern entry from README
Remove singleton pattern entry from README
-
docs: add mermaid diagrams (#469)
docs: add mermaid diagrams (#469) * docs: add mermaid diagrams * Update README.md * docs: add mermaid diagrams * docs: add mermaid diagrams * docs: add mermaid diagrams * docs: add mermaid diagrams * docs: add mermaid diagrams
-
Docs: Add ecosystem examples to CoR, add Factory tests (#466)
Docs: Add ecosystem examples to CoR, add Factory tests (#466) Co-authored-by: Sakis Kasampalis <faif@users.noreply.github.com>
-
chore: Update outdated GitHub Actions versions (#465)
chore: Update outdated GitHub Actions versions (#465)
-
Test coverage changes added (#464)
Test coverage changes added (#464) Co-authored-by: Binil <binilraj.kuttikkattubaburaj@example.com>
-
Improve type annotations in adapter pattern (#463)
Improve type annotations in adapter pattern (#463)
-
Fixed an incorrect indentation. (#462)
Fixed an incorrect indentation. (#462)
-
improved docstring formatting and added safe return in factory method…
improved docstring formatting and added safe return in factory method (#457) * added default return value in get_localizer to prevent KeyError * cleaned up docstring formatting and removed unnecessary asterisks
-
Add anti patterns sectiAdd “Anti-Patterns” section to README with exp…
Add anti patterns sectiAdd “Anti-Patterns” section to README with explanations (#256)on (#459) * added default return value in get_localizer to prevent KeyError * cleaned up docstring formatting and removed unnecessary asterisks * Add Anti-Patterns section explaining discouraged design patterns
-
docs: add missing Servant pattern to README behavioral patterns table…
docs: add missing Servant pattern to README behavioral patterns table (#458)
-
Add type hint to remaining pattern modules (#410)
Add type hint to remaining pattern modules (#410) * Adding typehint * Update __exit__ type * fix black formatting --------- Co-authored-by: Roy, Debakar <debakar.roy@intel.com> Co-authored-by: Sakis Kasampalis <faif@users.noreply.github.com>
-
Translate several doctest tests to pytest (#414)
Translate several doctest tests to pytest (#414) Co-authored-by: Benjamin Townsend <germin8@jamminangels.net> Co-authored-by: Sakis Kasampalis <faif@users.noreply.github.com>
-
Remove pluggable-libs submodule and cleanup (#433) (#447)
Remove pluggable-libs submodule and cleanup (#433) (#447) * Remove pluggable-libs submodule and cleanup (#433) * Fix GitHub Actions output format error for multiline file lists * Add requirements-dev.txt so CI can install dev dependencies --------- Co-authored-by: Sakis Kasampalis <faif@users.noreply.github.com>
-
Cleanup pluggable-libs & fix CI file output (#433, #447) (#448)
Cleanup pluggable-libs & fix CI file output (#433, #447) (#448) * Remove pluggable-libs submodule and cleanup (#433) * Fix GitHub Actions output format error for multiline file lists * Add requirements-dev.txt so CI can install dev dependencies
-
Add type hints and standardized docstrings to observer.py (#454)
Add type hints and standardized docstrings to observer.py (#454)
-
Fix typo in top comment of catalog.py (#453)
Fix typo in top comment of catalog.py (#453)
-
fix: :bug: Fix potential warning in factory.py (#455)
fix: :bug: Fix potential warning in factory.py (#455) Use ellipsis replace pass to avoid potential warning: ``` "resource": "/d:/Github/Python/python-patterns/patterns/creational/factory.py", "owner": "pylance4", "value": "reportReturnType", "path": "/microsoft/pylance-release/blob/main/docs/diagnostics/reportReturnType.md", "severity": 8, "message": "Function with declared return type \"str\" must return value on all code paths\n \"None\" is not assignable to \"str\"", "source": "Pylance", "startLineNumber": 29, "startColumn": 37, "endLineNumber": 29, "endColumn": 40, "origin": "extHost1" }] ``` Using VS Code with Pylance, Python debugger, and Black Formatter.
-
Update README.md
Update README.md Before diving into any of the patterns, readers should be reminded of two fundamental laws in software architecture: 1.Everything is a trade-ff 2."Why is more important than the how" So, readers face the nuances and reality of these patterns from the beginning. These two laws are coined by two thought leaders in software architecture: Mark Richards and Neal Ford. They have explained these two laws in various conference talks and books. For example, Here you can read about these two laws here: https://www.infoq.com/podcasts/software-architecture-hard-parts/ Also, here is a book for reference: https://a.co/d/fKOodW9
-
simplify patterns/behavioral/memento, changing Transactional from des…

simplify patterns/behavioral/memento, changing Transactional from descriptor class to decorator method