Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mccalluc/unnecessary evals #1935

Merged
merged 5 commits into from Jul 24, 2017
Merged

Mccalluc/unnecessary evals #1935

merged 5 commits into from Jul 24, 2017

Conversation

mccalluc
Copy link
Member

Use globals() and ** so we don't need eval()

(This all makes sense to me, but I'm not sure what the test coverage is like: Wouldn't be unreasonable to ask me to check that before approval.)

In many of these we are taking a string from the url. There is a tight regex match on the url, but this is dangerous.
@mccalluc mccalluc requested a review from scottx611x July 20, 2017 21:02
@codecov-io
Copy link

codecov-io commented Jul 20, 2017

Codecov Report

Merging #1935 into develop will increase coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1935      +/-   ##
===========================================
+ Coverage    41.94%   41.95%   +0.01%     
===========================================
  Files          412      412              
  Lines        26771    26762       -9     
  Branches      1321     1321              
===========================================
  Hits         11229    11229              
+ Misses       15542    15533       -9
Impacted Files Coverage Δ
refinery/annotation_server/views.py 19.46% <0%> (ø) ⬆️
...erver/management/commands/add_genome_annotation.py 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 51d115d...88dea18. Read the comment docs.

@mccalluc mccalluc merged commit ab24871 into develop Jul 24, 2017
@mccalluc mccalluc deleted the mccalluc/unnecessary-evals branch July 24, 2017 13:23
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.

None yet

3 participants