Skip to content

Commit

Permalink
Reformat with new black version (#702)
Browse files Browse the repository at this point in the history
Fix broken GitHub Actions badge link in readme
  • Loading branch information
SR4ven authored Jan 28, 2024
1 parent dc9fc92 commit fda187a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
boofuzz: Network Protocol Fuzzing for Humans
============================================

.. image:: https://github.com/jtpereyda/boofuzz/workflows/Test/badge.svg?branch=master
:target: https://github.com/jtpereyda/boofuzz/actions?query=workflow%3ATest+branch%3Amaster
.. image:: https://github.com/jtpereyda/boofuzz/actions/workflows/test.yml/badge.svg?branch=master
:target: https://github.com/jtpereyda/boofuzz/actions/workflows/test.yml
.. image:: https://readthedocs.org/projects/boofuzz/badge/?version=latest
:target: https://boofuzz.readthedocs.io/
:alt: Documentation Status
Expand Down
1 change: 1 addition & 0 deletions boofuzz/connections/ip_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
ip_constants has been moved into the connections subpackage.
The full path is now boofuzz.connections.ip_constants
"""

IPV4_PROTOCOL_UDP = 0x11
#: Theoretical maximum length of a UDP packet, based on constraints in the UDP
#: packet format.
Expand Down
6 changes: 3 additions & 3 deletions boofuzz/web/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ def index_update():
"current_index": app.session.total_mutant_index,
"num_mutations": app.session.total_num_mutations,
"current_index_element": app.session.mutant_index if app.session is not None else None,
"num_mutations_element": app.session.fuzz_node.get_num_mutations()
if app.session.fuzz_node is not None
else None,
"num_mutations_element": (
app.session.fuzz_node.get_num_mutations() if app.session.fuzz_node is not None else None
),
"current_element": app.session.fuzz_node.name if app.session.fuzz_node is not None else None,
"current_test_case_name": app.session.current_test_case_name,
"crashes": _crash_summary_info(),
Expand Down
1 change: 1 addition & 0 deletions examples/s_float.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Demo of a very simple protocol definition using the float primitive."""

from boofuzz import *


Expand Down

0 comments on commit fda187a

Please sign in to comment.