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

No need to use lambda when setting help text for ruff #18690

Merged
merged 2 commits into from
Apr 6, 2023

Conversation

asherf
Copy link
Member

@asherf asherf commented Apr 6, 2023

not sure why a lambda function was used here... it works just fine w/o it (and dropping the cls. when using the option scope)..
Screenshot 2023-04-06 at 10 27 12 AM

Am I missing something ?

@stuhood stuhood requested a review from chrisjrn April 6, 2023 20:07
@stuhood stuhood added the category:internal CI, fixes for not-yet-released features, etc. label Apr 6, 2023
Copy link
Member

@kaos kaos left a comment

Choose a reason for hiding this comment

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

Guess it could make a difference if the class was subclassed, but that is hardly the case here..

@asherf
Copy link
Member Author

asherf commented Apr 6, 2023

please a label and merge as I don't have permissions to do so.

@stuhood stuhood enabled auto-merge (squash) April 6, 2023 21:11
@stuhood stuhood merged commit 0deedb1 into pantsbuild:main Apr 6, 2023
@asherf asherf deleted the kramer branch April 6, 2023 21:34
illicitonion added a commit to illicitonion/pants that referenced this pull request Apr 10, 2023
Internal changes:

* refactor `package_python_dist` rule so most of the logic can be reused ([pantsbuild#18701](pantsbuild#18701))

* A Cloudflare Worker to handle requests to static.pantsbuild.org. ([pantsbuild#18685](pantsbuild#18685))

* No need to use lambda when setting help text for ruff ([pantsbuild#18690](pantsbuild#18690))

* Lint fixes - suggested by ruff and flake8 ([pantsbuild#18681](pantsbuild#18681))

* Skip flaky pantsd integration tests. ([pantsbuild#18665](pantsbuild#18665))

* Add types-beautifulsoup4 to default module mapping ([pantsbuild#18647](pantsbuild#18647))

* Prepare the 2.16.0rc0 release. ([pantsbuild#18645](pantsbuild#18645))

* Prepare the 2.14.2rc1 release. ([pantsbuild#18646](pantsbuild#18646))

* Prepare the 2.15.1rc1 release. ([pantsbuild#18644](pantsbuild#18644))
illicitonion added a commit that referenced this pull request Apr 10, 2023
Internal changes:

* refactor `package_python_dist` rule so most of the logic can be reused
([#18701](#18701))

* A Cloudflare Worker to handle requests to static.pantsbuild.org.
([#18685](#18685))

* No need to use lambda when setting help text for ruff
([#18690](#18690))

* Lint fixes - suggested by ruff and flake8
([#18681](#18681))

* Skip flaky pantsd integration tests.
([#18665](#18665))

* Add types-beautifulsoup4 to default module mapping
([#18647](#18647))

* Prepare the 2.16.0rc0 release.
([#18645](#18645))

* Prepare the 2.14.2rc1 release.
([#18646](#18646))

* Prepare the 2.15.1rc1 release.
([#18644](#18644))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants