Skip to content

Commit

Permalink
v1.0.7 (#34)
Browse files Browse the repository at this point in the history
* ci: multiple Python versions

* style: apply black

* ci: remove pydocstyle

Pydocstyle does not seem to be maintained anymore and it is causing CI
issues.

* chore!: drop support of python3.7

EOF in 2 months.

* ci: remove pylama verbose mode

* v1.0.7
  • Loading branch information
kpetremann authored May 11, 2023
1 parent f234e89 commit 38b9e52
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 12 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,23 @@ jobs:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.6
uses: actions/setup-python@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.6
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Running checks with Tox
run: |
tox
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Requirements

Python >= 3.6
Python >= 3.8

# What is netprobify?

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.6
1.0.7
1 change: 0 additions & 1 deletion netprobify/protocol/tcpsyn.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ def generate_packets(self, all_groups, seq_gen, logging_level="WARNING"):
self.packets.append(pkt)
self.packets_rst.append(packets_rst)
else:

pkt = (
af_ip_pkt
/ TCP(flags="S", seq=seq_id, dport=self.dst_port, sport=src_port)
Expand Down
2 changes: 1 addition & 1 deletion pylama.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[pylama]
skip={toxworkdir}/*,build/*,dist/*,sdist/*,.tox/*,env/*,.env/*,venv/*,.venv/*
ignore=E402,D100,D203,D213,D405,D407,D413
linters=pycodestyle,pyflakes,pydocstyle
linters=pycodestyle,pyflakes

[pylama:tests/*]
linters=pycodestyle,pyflakes
Expand Down
6 changes: 3 additions & 3 deletions requirements/netprobify.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ flask-httpauth
prometheus_client
pykwalify
PyYAML
requests==2.25.1
setuptools==58.1.0
scapy==2.4.5
requests
setuptools
scapy==2.5.0
tornado
waitress
1 change: 0 additions & 1 deletion requirements/tests.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
coverage
pydocstyle
pykwalify
pylama
pytest
Expand Down

0 comments on commit 38b9e52

Please sign in to comment.