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 linter complaints #373

Merged
merged 4 commits into from
Aug 3, 2024

Conversation

Ilia-Kosenkov
Copy link
Member

@Ilia-Kosenkov Ilia-Kosenkov commented Aug 3, 2024

  • Fix spelling errors
  • Refactor type checking code

@Ilia-Kosenkov Ilia-Kosenkov changed the title Fix lenter complaints Fix linter complaints Aug 3, 2024
@Ilia-Kosenkov Ilia-Kosenkov enabled auto-merge (squash) August 3, 2024 20:04
@CGMossa
Copy link
Member

CGMossa commented Aug 3, 2024

I don't understand some of these changes... Why did you change that one function that had a length parameter?

Copy link
Contributor

@JosiahParry JosiahParry left a comment

Choose a reason for hiding this comment

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

I don't understand some of these changes... Why did you change that one function that had a length parameter?

This is just rearranging the internals of the function. I had similar qualms about defining a function inside of a function—just never took it upon myself to fix it. The change is purely cosmetic!

These look good and address long standing typos as well!

@Ilia-Kosenkov Ilia-Kosenkov merged commit c456fe1 into extendr:main Aug 3, 2024
17 checks passed
@JosiahParry
Copy link
Contributor

Was that the auto-merger?! That was fast :P

@Ilia-Kosenkov
Copy link
Member Author

Yep, just refactoring. Extracted inner functions as they introduced too much complexity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants