Skip to content

Commit

Permalink
Hardening suggestions for codemodder-python / harden-pickle-load (#333)
Browse files Browse the repository at this point in the history
* Remove Unnecessary F-strings

* Fix import order

---------

Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
Co-authored-by: Daniel D'Avella <[email protected]>
  • Loading branch information
pixeebot[bot] and drdavella authored Mar 6, 2024
1 parent 018ce52 commit 49ee7d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/test_harden_pickle_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class TestHardenPickleLoad(BaseIntegrationTest):
requirements_path = "tests/samples/requirements.txt"
original_requirements = "# file used to test dependency management\nrequests==2.31.0\nblack==23.7.*\nmypy~=1.4\npylint>1\n"
expected_new_reqs = (
f"# file used to test dependency management\n"
"# file used to test dependency management\n"
"requests==2.31.0\n"
"black==23.7.*\n"
"mypy~=1.4\n"
Expand Down

0 comments on commit 49ee7d0

Please sign in to comment.