-
Notifications
You must be signed in to change notification settings - Fork 0
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
Linting with flake8 #261
Linting with flake8 #261
Conversation
.flake8
Outdated
E241, | ||
E402, | ||
|
||
exclude = apps/mappings/apps.py, apps/xero/admin.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we excluding these two files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they had imports like signal, django.contrib.admin which are needed but it was giving unused error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignore those lines only by adding a comment in the previous line, don't ignore the whole file
.flake8
Outdated
E241, | ||
E402, | ||
|
||
exclude = apps/mappings/apps.py, apps/xero/admin.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assign back review once you fix this
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #261 +/- ##
==========================================
- Coverage 95.48% 95.42% -0.06%
==========================================
Files 57 57
Lines 3298 3259 -39
==========================================
- Hits 3149 3110 -39
Misses 149 149
☔ View full report in Codecov by Sentry. |
No description provided.