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

Extend linter config #1241

Open
3 of 17 tasks
flying-sheep opened this issue Nov 23, 2023 · 0 comments
Open
3 of 17 tasks

Extend linter config #1241

flying-sheep opened this issue Nov 23, 2023 · 0 comments

Comments

@flying-sheep
Copy link
Member

flying-sheep commented Nov 23, 2023

Please describe your wishes and possible alternatives to achieve the desired result.

Code      Descriptionsc PRad PR
Missing from #1117
likely bugs and design problems
better list/set/dict/generator comprehensions
Rules around mostly loops

Disallow except:/except Exception:

Misc syntax simplifications
Various useful Ruff rules
Traceback-friendly error messagesscverse/scanpy#3437#1825
Implicit string concatenation
Flow simplificationsscverse/scanpy#3258
Mentioned in #1117 (more substantive changes)
more useful warning stack locations
very useful for a future API updatescverse/scanpy#3189#1694
very useful, but needs a lot of changesscverse/scanpy#3191#1521
Pandas vetting
Docstring style
Clarifies early returns
Also:
simplified code (e.g. ternaries instead of assignments in if/else)scverse/scanpy#3258
less-known typing stuff (like `float` meaning `int | float`)scverse/scanpy#3339#1747
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant