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

Reformat with new black version #702

Merged
merged 1 commit into from
Jan 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading