YangCatalog / backend

YANG Catalog's REST API and internal module processing pipeline
https://yangcatalog.org
Apache License 2.0
2 stars 11 forks source link

chore: Ignore Q000 in flake8 config #826

Closed microamp closed 9 months ago

microamp commented 9 months ago

~Use single quotes for Python strings to fix the flake8 error.~

./parseAndPopulate/modulesComplicatedAlgorithms.py:432:34: Q000 Double quotes found but single quotes preferred
Error: Process completed with exit code 1.

Update: flake8 doesn't seem to support black as profile, like isort does. Going forward, we'll choose black's formatting over flake8's when there is a conflict between the two.

microamp commented 9 months ago

Update: All checks now pass.

codecov[bot] commented 9 months ago

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 77.83%. Comparing base (8674bf5) to head (221a97f). Report is 1 commits behind head on develop.

:exclamation: Current head 221a97f differs from pull request most recent head 2181d15. Consider uploading reports for the commit 2181d15 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #826 +/- ## ======================================== Coverage 77.83% 77.83% ======================================== Files 112 112 Lines 11490 11490 ======================================== Hits 8943 8943 Misses 2547 2547 ``` | [Files](https://app.codecov.io/gh/YangCatalog/backend/pull/826?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=YangCatalog) | Coverage Δ | | |---|---|---| | [parseAndPopulate/modulesComplicatedAlgorithms.py](https://app.codecov.io/gh/YangCatalog/backend/pull/826?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=YangCatalog#diff-cGFyc2VBbmRQb3B1bGF0ZS9tb2R1bGVzQ29tcGxpY2F0ZWRBbGdvcml0aG1zLnB5) | `64.42% <0.00%> (ø)` | |