Uninett / zino

Zino 2.0 - Network state monitor for research networks
Apache License 2.0
4 stars 5 forks source link

Explicitely exclude files from being linted by MegaLinter #358

Closed johannaengland closed 3 months ago

johannaengland commented 3 months ago

Scope and purpose

MegaLinter passes a list of files to black and ruff without using force-exclude the linters did ignore the basic exclude configuration in that case, which is why FILTER_REGEX_EXCLUDE was needed.

The issue I made in MegaLinter about that topic: https://github.com/oxsecurity/megalinter/issues/3915 Force-exclude in black configuration: https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#force-exclude Force-exclude in ruff configuration: https://docs.astral.sh/ruff/settings/#force-exclude

Contributor Checklist

Every pull request should have this checklist filled out, no matter how small it is. More information about contributing to Zino can be found in the README.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.57%. Comparing base (c0c5696) to head (92a0c65). Report is 5 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #358 +/- ## ======================================= Coverage 98.57% 98.57% ======================================= Files 77 77 Lines 9699 9699 ======================================= Hits 9560 9560 Misses 139 139 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.