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

Make hints optional #52

Merged
merged 9 commits into from
Jun 10, 2023
Merged

Conversation

El-Virus
Copy link
Contributor

Made the use of hints optional, given that, for some rules, the title is descriptive enough.

Made the use of hints optional, given that, for some rules, the title is descriptive enough.
@codecov
Copy link

codecov bot commented May 15, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (4a4e4ba) 100.00% compared to head (bf843fd) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #52   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          148       149    +1     
=========================================
+ Hits           148       149    +1     
Impacted Files Coverage Δ
relint/parse.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@codingjoe codingjoe marked this pull request as draft May 23, 2023 14:42
@codingjoe codingjoe marked this pull request as ready for review May 24, 2023 11:44
Copy link
Owner

@codingjoe codingjoe left a comment

Choose a reason for hiding this comment

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

Hi @El-Virus,

Thank you for your contribution. I always appreciate the help and people involvement in my passion projects.

I left you a couple of comments to further improve your contribution. I also took the liberty and added a test, as writing a test in an unfamiliar setup can be hard for first-time contributors to a new project.

Cheers!
Joe

relint/parse.py Outdated Show resolved Hide resolved
relint/parse.py Outdated Show resolved Hide resolved
relint/parse.py Outdated Show resolved Hide resolved
@codingjoe codingjoe added the enhancement New feature or request label May 24, 2023
@codingjoe codingjoe changed the title Made the use of hints optional Make hints optional May 24, 2023
@El-Virus
Copy link
Contributor Author

El-Virus commented Jun 9, 2023

Note: I've 0 experience with codecov & have no idea why it's failing its tests.

Copy link
Owner

@codingjoe codingjoe left a comment

Choose a reason for hiding this comment

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

No worries. I improved the tests and slightly simplified the current implementation to facilitate your use case with less conditional code blocks. I believe this is ready to be shipped. Thanks @El-Virus excellent contribution 👍

@codingjoe codingjoe merged commit 1663426 into codingjoe:main Jun 10, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants