Skip to content

Create .codacy.yaml to not analyse JSON files#9

Open
pedrocodacy wants to merge 2 commits intoPatrowl:mainfrom
pedrocodacy:patch-1
Open

Create .codacy.yaml to not analyse JSON files#9
pedrocodacy wants to merge 2 commits intoPatrowl:mainfrom
pedrocodacy:patch-1

Conversation

@pedrocodacy
Copy link

Hey there @pedrocodacy from the Codacy dev team here 👋

I've noticed through internal monitoring of the product that you have this repo integrated in our product and are getting 45-60 minutes analysis times.
Looking through your configuration, I can see that you have already disabled all code patterns that analyze JSON files, which seems to indicated that you are not interested in analyzing these.
One detail that is relevant for your usage of the product is that Codacy will still run a bunch of background code metrics calculations on JSON to calculate number of lines of code in this case. Given the large amount of JSON files in this repo, this ends up severely hurting your analysis times.

This PR introduces a Codacy configuration file at the root of your repo, ignoring these files.
From tests I did with a forked version of this repo, I got analysis times of commits to drop to under 15 minutes.

Have a nice day 👋 🌻

@pedrocodacy
Copy link
Author

@MaKyOtOx, can I quickly get some attention on this?

It would dramatically improve your experience with our product.

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.

1 participant