gammasim / simtools

Tools and applications for the Simulation System of the CTA Observatory.
https://gammasim.github.io/simtools
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

resolve codacy issues #257

Closed GernotMaier closed 10 months ago

GernotMaier commented 2 years ago

Codacy's static code analysis 102 issues, mostly minor and most of them probably easy to solve.

GernotMaier commented 2 years ago

Most items are solved with e.g. PR #319.

Remaining issues are attached as screenshot.

Screenshot 2022-09-09 at 16 03 19

orelgueta commented 2 years ago

I am not sure we can fix the legend and plot1D issues. The former I think must follow a specific format, but I will check. The latter might require too much work to simplify. I will look into it though.

orelgueta commented 2 years ago

The legend handlers issue was fixed in #347. The plot1D I am really hesitant to work on, it would simplify a function just to make codacy happy, none of the pieces created would be used anywhere else (for now, if we implement more plotting stuff, then maybe).

GernotMaier commented 2 years ago

I think this is fine.

The main remaining issue is the global thing in config.py. This should go when improving the configuration (issue #279). After that, we will have 1-3 issue left, which in my opinion is very good.

orelgueta commented 2 years ago

OK, so in my mind I am closing this issue.

GernotMaier commented 11 months ago

Three issue remaining on codacy, see below.

Screenshot 2023-11-09 at 10 31 41

GernotMaier commented 10 months ago

Do think we can close this issue.

@orelgueta - ok to close?

orelgueta commented 10 months ago

Yes, these issues were discussed already the previous time we implemented codacy and we decided to "ignore" them.