Skip to content

Satisfy some wemake rules #1546

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

Merged
merged 2 commits into from
Apr 5, 2023
Merged

Satisfy some wemake rules #1546

merged 2 commits into from
Apr 5, 2023

Conversation

adamtheturtle
Copy link
Member

This passes with pip install wemake-python-styleguide and:

flake8 --ignore=Q000,WPS305,I001,N818,D400,D200,D205,I005,WPS226,WPS326,WPS204,WPS323,WPS306,WPS115,S311,WPS300,WPS337,S101,WPS602,I003,DAR101,WPS436,WPS210,WPS460,WPS529,WPS201,WPS211,DAR201,S105,S106,RST301,WPS238,W503,WPS441,WPS214,WPS231,WPS213,WPS202,RST215,WPS432,WPS428,WPS237,D401,WPS218,I004,WPS336,WPS114,WPS110,WPS236,WPS520,WPS605,WPS450,WPS316,WPS334,DAR003,WPS429,DAR402,WPS510,S404,WPS462,WPS412,WPS410,WPS331 .

I chose to ignore rules which seemed to get in the way. Not putting this in CI as it is very slow.

@adamtheturtle adamtheturtle force-pushed the wemake branch 3 times, most recently from 43fc4fa to 1884025 Compare April 5, 2023 09:23
This passes with `pip install wemake-python-styleguide` and:

```
flake8 --ignore=Q000,WPS305,I001,N818,D400,D200,D205,I005,WPS226,WPS326,WPS204,WPS323,WPS306,WPS115,S311,WPS300,WPS337,S101,WPS602,I003,DAR101,WPS436,WPS210,WPS460,WPS529,WPS201,WPS211,DAR201,S105,S106,RST301,WPS238,W503,WPS441,WPS214,WPS231,WPS213,WPS202,RST215,WPS432,WPS428,WPS237,D401,WPS218,I004,WPS336,WPS114,WPS110,WPS236,WPS520,WPS605,WPS450,WPS316,WPS334,DAR003,WPS429,DAR402,WPS510,S404,WPS462,WPS412,WPS410,WPS331 .
```

I chose to ignore rules which seemed to get in the way.
Not putting this in CI as it is very slow.
@codecov
Copy link

codecov bot commented Apr 5, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.11 🎉

Comparison is base (268042d) 97.72% compared to head (60e343c) 97.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1546      +/-   ##
==========================================
+ Coverage   97.72%   97.84%   +0.11%     
==========================================
  Files          71       71              
  Lines        5196     5193       -3     
  Branches      689      688       -1     
==========================================
+ Hits         5078     5081       +3     
+ Misses         83       77       -6     
  Partials       35       35              
Impacted Files Coverage Δ
src/mock_vws/_flask_server/vwq.py 100.00% <ø> (ø)
tests/mock_vws/fixtures/vuforia_backends.py 90.36% <ø> (ø)
tests/mock_vws/test_content_length.py 96.15% <ø> (ø)
tests/mock_vws/test_database_summary.py 98.36% <ø> (ø)
tests/mock_vws/test_update_target.py 98.41% <ø> (-0.01%) ⬇️
src/mock_vws/_base64_decoding.py 100.00% <100.00%> (ø)
src/mock_vws/_flask_server/target_manager.py 100.00% <100.00%> (ø)
src/mock_vws/_flask_server/vws.py 100.00% <100.00%> (ø)
src/mock_vws/_query_tools.py 96.77% <100.00%> (ø)
..._vws/_query_validators/accept_header_validators.py 100.00% <100.00%> (ø)
... and 23 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@adamtheturtle adamtheturtle merged commit 1a10c92 into master Apr 5, 2023
@adamtheturtle adamtheturtle deleted the wemake branch April 5, 2023 14:46
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.

1 participant