Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Lambda keyword args, improve errors, and nested madness #136

Merged
merged 17 commits into from
May 30, 2022
Merged
Show file tree
Hide file tree
Changes from 12 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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [unreleased]

### Fixed
* Keyword argument lambdas are now allowed inside rules [[#135][135]]
* Improve reported line number in Snakefile when black fails to parse [[#127][127]]
* Better handling of snakemake code inside nested if-else statements with comments at differing indentation levels [[#126][126]]

## [0.6.0](https://www.github.com/snakemake/snakefmt/compare/v0.5.0...v0.6.0) (2022-03-03)

### Added

* Support for `template_engine` keyword. **This requires bumping our minimum python version to 3.7 to allow for snakemake v7.**
Expand Down Expand Up @@ -251,4 +258,7 @@ is 40 character long, the line is 48 characters long. However, we were only pass
[116]: https://github.com/snakemake/snakefmt/pull/116
[118]: https://github.com/snakemake/snakefmt/issues/118
[121]: https://github.com/snakemake/snakefmt/issues/121
[126]: https://github.com/snakemake/snakefmt/issues/126
[127]: https://github.com/snakemake/snakefmt/issues/127
[131]: https://github.com/snakemake/snakefmt/pull/131
[135]: https://github.com/snakemake/snakefmt/issues/135
Loading