Address codacy issues
Well, some of them at least...
Comments (62)
-
reporter -
reporter Minor change to signature, prompted by codacy. Refs
#526→ <<cset 708239c3be1b>>
-
reporter Minor change to signature, prompted by codacy. Fixes previous correction. Refs
#526→ <<cset e9a6696d61d1>>
-
reporter Fixing a couple more of the codacy issues on dicom.js - not tested yet. Refs
#526→ <<cset 01fb987380c8>>
-
reporter Modified views.py to fix most of the codacy issues. Refs
#526→ <<cset c7c85d039cbe>>
-
reporter Codacy pointed out check_uid call wouldn't work. Removed main as can't think why you'd use it. Refs
#526→ <<cset 68c9b27cc161>>
-
reporter Removed a load of trailing whitespaces. refs
#526→ <<cset a3818df22df0>>
-
reporter Refactored export views to remove open except statements and reduce duplication. Refs
#526→ <<cset 3360b6995d6c>>
-
reporter More work on exportviews. Refs
#526→ <<cset 41e64f832056>>
-
reporter Removed more duplication. Refs
#526. Likely to have worse score on Codecy as I've changed the number of things it looks for...→ <<cset 490af184b9e5>>
-
reporter Mostly adding in doc-string. Refs
#526→ <<cset acf09d31e302>>
-
reporter Simplified if statement to bool. Refs
#526→ <<cset 8167959cf10e>>
-
reporter Simplified another if statement to bool. Refs
#526→ <<cset db56fbe81f6b>>
-
reporter -
Fixed capitalisation error. References issue
#526→ <<cset b89bf309447f>>
-
reporter Correcting some errors picked up by codacy. Refs
#528,#526→ <<cset ce1e904055a0>>
-
reporter Removing unused imports, reducing line length, a little deduplication, a little better logging. Refs
#526→ <<cset 101e6f7beb63>>
-
reporter Adding in missing request for new messagese. Imported messages at top of exportviews. Refs
#526→ <<cset 94983100744e>>
-
Addressing some codacy issues from the previous commit. References issue
#526and issue#537→ <<cset e403a1ea913d>>
-
Merged in issue537chartsHideSeries (pull request #105)
Addressing some codacy issues from the previous commit. References issue
#526and issue#537→ <<cset 7fba25484c5d>>
-
Changed single to double quotes. No functional changes. References issue
#526→ <<cset 3adb23e41fab>>
-
reporter -
Swapping more single quotes for double quotes. Leaving external library code alone - just changing the OpenREM code. References issue
#526→ <<cset 22c26ffab9ae>>
-
Removing some trailing whitespaces. References issue
#526→ <<cset af002b9966b2>>
-
Enforcing curly bracket brace conventions for codacy. References issue
#526→ <<cset d93cbad2cab4>>
-
Enforcing semicolons for codacy. References issue
#526→ <<cset 5c9ed26eff96>>
-
Camel case updates. . References issue
#526→ <<cset 217c0ff599dd>>
-
Shouldn't have camel-cased that field name. References issue
#526→ <<cset 8fd5ca225787>>
-
Broke chart sorting in earlier commit. Fixed by this one. References issue
#526→ <<cset 7e4fe60d4998>>
-
Broke chart sorting in earlier commit. Fixed by this one. References issue
#526→ <<cset 0c8adaddb8d6>>
-
Further codacy updates. References issue
#526→ <<cset 0c477cabdc19>>
-
Over-zealous with the single quote replacement. Making skin dose maps work again. References issue
#526→ <<cset f6a859081dc2>>
-
Over-zealous with the single quote replacement. Making histogram links work again. References issue
#526→ <<cset cad6754d91e1>>
-
A lot of "codacy issues" are due to trailing spaces. You can easily remove them in PyCharm by right clicking on the project root directory in the project pane. Select "Replace in Path" and use regex: [ ]+$ Replace by <empty string>.
-
reporter Thanks @LuukO. Do you fancy branching from this branch and committing it directly into this repo? I can then get Codacy to review the change, and by doing it in this repo directly the pipelines will run too...
-
-
@edmcdonagh, I've set codacy to ignore the JavaScript and css library files that are being used. The ignored .js files are now:
- boost.js
- bootstrap-datepicker.js
- bootstrap.js
- bootstrap.min.js
- chroma.min.js
- datepicker.js
- drilldown.js
- export-csv.js
- exporting.js
- highcharts.js
- html5shiv.min.js
- jquery-1.11.0.min.js
- jquery.qtip.min.js
- npm.js
- offline-exporting.js
- respond.min.js
- response.min.js
- sorttable.js
- three.min.js
The ignored css files are:
- bootstrap-theme.css
- bootstrap-theme.min.css
- bootstrap.css
- bootstrap.min.css
- datepicker3.css
- jquery,qtip.min.css
-
Fixing a few codacy issues. References issue
#526→ <<cset 82d8b45ad000>>
-
Addressed more codacy issues. References issue
#526→ <<cset 917b8e93bc68>>
-
reporter - changed status to resolved
Aded addressing Codacy issues to changes. Fixes
#526→ <<cset 0b4510145171>>
-
Addressing codacy issues in skin dose map JavaScript files. References issue
#564and issue#526→ <<cset fbd932b785b3>>
-
Addressing codacy issues in skin dose map JavaScript files. References issue
#526→ <<cset 1a3e8c597a9a>>
-
Addressing codacy issues in skin dose map JavaScript files. Trying to use eslint in a couple of these files. References issue
#526→ <<cset d1fc33e28653>>
-
Addressing codacy issues in skin dose map JavaScript files. Last commit tonight. References issue
#526→ <<cset d7db848a5636>>
-
Addressing codacy issues in skin dose map JavaScript. References issue
#526→ <<cset dc37ca912cc1>>
-
Addressing further codacy issues. References issue
#526→ <<cset bd3b8c94ad63>>
-
Addressing further codacy issues. References issue
#526→ <<cset 128ddaa7b22b>>
-
Addressing further codacy issues. References issue
#526→ <<cset b2329d67c992>>
-
Addressing further codacy issues. References issue
#526→ <<cset 1daf967fd3c2>>
-
Addressed some JavaScript codacy issues. No functional changes. References issue
#526→ <<cset acf10b494ed5>>
-
Addressed some JavaScript codacy issues. No functional changes. References issue
#526→ <<cset 7961346d9826>>
-
Trying to ignore new category of error in JavaScript. No functional changes. References issue
#526→ <<cset 3ec2081bb3f6>>
-
Trying to ignore new category of error in JavaScript. No functional changes. References issue
#526→ <<cset dc4972b88efd>>
-
Trying to ignore new category of error in JavaScript. No functional changes. References issue
#526→ <<cset 69f86936b2c6>>
-
Trying to ignore new category of error in JavaScript. No functional changes. References issue
#526→ <<cset 12efe011646c>>
-
Trying to ignore new category of error in JavaScript. No functional changes. References issue
#526→ <<cset bb581e114524>>
-
@edmcdonagh, have a look at this branch on codacy...
-
Addressed some JavaScript codacy issues. No functional changes. References issue
#526→ <<cset 9812c1fed1ad>>
-
Addressed more JavaScript codacy issues. No functional changes. References issue
#526→ <<cset 8a9f7357b64b>>
-
reporter I'd say that was a reasonable effort!
-
Addressed some JavaScript codacy issues. No functional changes. References issue
#526→ <<cset 226485896eee>>
-
Addressed some JavaScript codacy issues. No functional changes. References issue
#526→ <<cset 410ed7962e31>>
- Log in to comment
Revamped dicom.js to suit codicy - will need to check functionality as sadly no tests for this yet. Refs
#526→ <<cset ba62d34a5151>>