-
-
Notifications
You must be signed in to change notification settings - Fork 271
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
[CLN] Collection of code clean-up and improvement tasks #346
Comments
What docstring improvements do you have in mind? I am already reworking some of those functions for #376 so I can take care of that as well. |
The short example code snippet in many |
I see. I will do some rewriting in my next commit.
…On Thu, May 25, 2023 at 4:46 AM Philipp Schaefer ***@***.***> wrote:
What docstring improvements do you have in mind? I am already reworking
some of those functions for #376
<#376> so I can take care of
that as well.
The short example code snippet in many Laps.pick_* functions use a weird
naming convention. For example some_drivers_laps =
ff1.pick_teams(['Mercedes', 'Williams']) , but ff1 is commonly used as
abbreviation for the module, naming it laps would make more sense. This
might be confusing, especially for newcomers.
—
Reply to this email directly, view it on GitHub
<#346 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVNGPLDWVGX74UMHXLRRBFDXH4L5XANCNFSM6AAAAAAWUQS6YI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
With regards to input structure/style, have you investigated adding isort to pre-commit? |
Yes, I probably want to add flake8-isort or flake8-import-order. But I want "fix" all existing imports before that. And I want to look into what a reasonable module structure is, to prevent circular imports (A problem that I occassionally have). This is not directly related but interesting for potential future additions and refactoring. |
This issue is intended for keeping track of some code clean-up and improvement tasks that are not immediately required but should be done at some point.
In no particular order:
add CI tests for building FastF1 and testing the built package (catch things like missing packages in setup.cfg)Laps.pick_*
functions (confusing naming of vars in examples)The text was updated successfully, but these errors were encountered: