Skip to content

Conversation

@andrzej-janczak
Copy link
Contributor

@andrzej-janczak andrzej-janczak commented Apr 16, 2025

Run tools only for supported languages by the tool.

  • Added language configuration file generation during init using API data
  • Created YAML config in compact format mapping tools to supported languages
  • Moved language config generation to dedicated file in tools package
  • Tools now check file extensions during analyze to skip unsupported languages

This prevents tools from running on unsupported file types (e.g., pylint on C++ files).

- Added language configuration file generation during init using API data
- Created YAML config in compact format mapping tools to supported languages
- Moved language config generation to dedicated file in tools package
- Tools now check file extensions during analyze to skip unsupported languages

This prevents tools from running on unsupported file types (e.g., pylint on C++ files).
@codacy-production
Copy link

codacy-production bot commented Apr 16, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.71% 49.10%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (333782d) 2973 1070 35.99%
Head commit (e14fa31) 3139 (+166) 1152 (+82) 36.70% (+0.71%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#79) 167 82 49.10%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@andrzej-janczak
Copy link
Contributor Author

andrzej-janczak commented Apr 16, 2025

I just noticed we have languages settings, that we can try grab by API
https://app.codacy.com/gh/troubleshoot-codacy/sample-programs/settings/languages
I propose to try to add it in another PR and merge this one cause it's a fix.

@andrzej-janczak andrzej-janczak changed the title Fix: Run tools for supported languages [PLUTO-1399] Fix: Run only tools which support anylezed file type [PLUTO-1399] Apr 17, 2025
@franciscoovazevedo franciscoovazevedo merged commit 9759612 into main Apr 28, 2025
8 checks passed
@alerizzo alerizzo deleted the PLUTO-1399-run-tools-for-supported-languages branch June 3, 2025 09:44
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.

3 participants