Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Reformat code using
black
, sort imports using isort
Add a script to make Travis enforce formatting and linting.
- Loading branch information
Showing
9 changed files
with
1,162 additions
and
954 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dist: xenial | ||
install: pip install -r requirements.txt black flake8 isort | ||
language: python | ||
python: "3.8" | ||
script: .travis/script | ||
sudo: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
flake8 *.py | ||
isort -c -df *.py | ||
black --check --diff *.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# add your QUIC implementation here | ||
IMPLEMENTATIONS = { # name => [ docker image, role ]; role: 0 == 'client', 1 == 'server', 2 == both | ||
"quicgo": { "url": "martenseemann/quic-go-interop:latest", "role": 2 }, | ||
"quicly": { "url": "janaiyengar/quicly:interop", "role": 2 }, | ||
"ngtcp2": { "url": "ngtcp2/ngtcp2-interop:latest", "role": 2 }, | ||
"quant": { "url": "ntap/quant:interop", "role": 2 }, | ||
"mvfst": { "url": "lnicco/mvfst-qns:latest", "role": 2 }, | ||
"quiche": { "url": "cloudflare/quiche-qns:latest", "role": 2 }, | ||
"kwik": { "url": "peterdoornbosch/kwik_n_flupke-interop", "role": 0 }, | ||
"picoquic": { "url": "privateoctopus/picoquic:latest", "role":2 }, | ||
"aioquic": { "url": "aiortc/aioquic-qns:latest", "role": 2 }, | ||
IMPLEMENTATIONS = { # name => [ docker image, role ]; role: 0 == 'client', 1 == 'server', 2 == both | ||
"quicgo": {"url": "martenseemann/quic-go-interop:latest", "role": 2}, | ||
"quicly": {"url": "janaiyengar/quicly:interop", "role": 2}, | ||
"ngtcp2": {"url": "ngtcp2/ngtcp2-interop:latest", "role": 2}, | ||
"quant": {"url": "ntap/quant:interop", "role": 2}, | ||
"mvfst": {"url": "lnicco/mvfst-qns:latest", "role": 2}, | ||
"quiche": {"url": "cloudflare/quiche-qns:latest", "role": 2}, | ||
"kwik": {"url": "peterdoornbosch/kwik_n_flupke-interop", "role": 0}, | ||
"picoquic": {"url": "privateoctopus/picoquic:latest", "role": 2}, | ||
"aioquic": {"url": "aiortc/aioquic-qns:latest", "role": 2}, | ||
} |
Oops, something went wrong.