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

Linting with flake8 #261

Merged
merged 3 commits into from
Sep 28, 2023
Merged

Linting with flake8 #261

merged 3 commits into from
Sep 28, 2023

Conversation

Ashutosh619-sudo
Copy link
Contributor

No description provided.

@Ashutosh619-sudo Ashutosh619-sudo temporarily deployed to CI Environment September 25, 2023 05:36 — with GitHub Actions Inactive
.flake8 Outdated
E241,
E402,

exclude = apps/mappings/apps.py, apps/xero/admin.py
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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
Copy link
Contributor

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

@Ashutosh619-sudo Ashutosh619-sudo temporarily deployed to CI Environment September 27, 2023 05:17 — with GitHub Actions Inactive
@Ashutosh619-sudo Ashutosh619-sudo added the deploy Triggers deployment of active branch to Staging label Sep 27, 2023
@Ashutosh619-sudo Ashutosh619-sudo temporarily deployed to Staging September 27, 2023 08:31 — with GitHub Actions Inactive
@Ashutosh619-sudo Ashutosh619-sudo temporarily deployed to CI Environment September 27, 2023 08:37 — with GitHub Actions Inactive
@github-actions
Copy link

Tests Skipped Failures Errors Time
143 0 💤 0 ❌ 0 🔥 1m 3s ⏱️

@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

Attention: 68 lines in your changes are missing coverage. Please review.

Comparison is base (078f8bd) 95.48% compared to head (639981a) 95.42%.

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              
Files Coverage Δ
apps/exceptions.py 79.54% <100.00%> (ø)
apps/fyle/actions.py 100.00% <100.00%> (ø)
apps/fyle/helpers.py 100.00% <100.00%> (ø)
apps/fyle/serializers.py 100.00% <100.00%> (ø)
apps/fyle/tasks.py 95.77% <100.00%> (-0.06%) ⬇️
apps/fyle/views.py 100.00% <100.00%> (ø)
apps/mappings/constants.py 100.00% <ø> (ø)
apps/mappings/helpers.py 100.00% <100.00%> (ø)
apps/mappings/models.py 100.00% <100.00%> (ø)
apps/mappings/queue.py 100.00% <100.00%> (ø)
... and 47 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Ashutosh619-sudo Ashutosh619-sudo added deploy Triggers deployment of active branch to Staging and removed deploy Triggers deployment of active branch to Staging labels Sep 27, 2023
@Ashutosh619-sudo Ashutosh619-sudo temporarily deployed to Staging September 27, 2023 08:43 — with GitHub Actions Inactive
@Ashutosh619-sudo Ashutosh619-sudo temporarily deployed to CI Environment September 27, 2023 08:43 — with GitHub Actions Inactive
@Ashutosh619-sudo Ashutosh619-sudo merged commit 2c6be50 into master Sep 28, 2023
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy Triggers deployment of active branch to Staging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants