Skip to content
Merged
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [v0.3.6]
### Added
* Added support for the `:decorators` meta key in anonymous `fn`s (#1178)

Expand Down Expand Up @@ -691,6 +693,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Basilisp language and compiler base.

[v0.3.6]: https://github.com/basilisp-lang/basilisp/compare/v0.3.5..v0.3.6
[v0.3.5]: https://github.com/basilisp-lang/basilisp/compare/v0.3.4..v0.3.5
[v0.3.4]: https://github.com/basilisp-lang/basilisp/compare/v0.3.3..v0.3.4
[v0.3.3]: https://github.com/basilisp-lang/basilisp/compare/v0.3.2..v0.3.3
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "basilisp"
version = "0.3.5"
version = "0.3.6"
description = "A Clojure-like lisp written for Python"
authors = ["Christopher Rink <[email protected]>"]
license = "Eclipse Public License 1.0 (EPL-1.0)"
Expand Down
4 changes: 3 additions & 1 deletion src/basilisp/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ class ImporterCacheEntry(TypedDict, total=False):
module: BasilispModule


class BasilispImporter(MetaPathFinder, SourceLoader): # pylint: disable=abstract-method
class BasilispImporter( # type: ignore[misc] # pylint: disable=abstract-method
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suppresses the following error:

src/basilisp/importer.py:135: error: Definition of "source_to_code" in base class "SourceLoader" is incompatible with definition in base class "InspectLoader"  [misc]

SourceLoader comes directly from importlib.abc, so this is not something we created. We also don't use that method, so this is thankfully not an issue.

MetaPathFinder, SourceLoader
):
"""Python import hook to allow directly loading Basilisp code within
Python."""

Expand Down
Loading