Verified Commit 4f0bf4ca authored by Benjamin "Ziirish" SANS's avatar Benjamin "Ziirish" SANS
Browse files

setup pre-commit hook

parent 43253d82
Pipeline #1827 failed with stages
in 21 minutes and 28 seconds
......@@ -262,7 +262,7 @@ url = __url__
with open(os.path.join(ROOT, "requirements.txt")) as f:
requires = [x.strip() for x in f if x.strip()]
dev_requires = ["flake8", "pylint"]
dev_requires = ["flake8", "pylint", "black"]
test_requires = [
"pytest",
"pytest-cov",
......
......@@ -69,7 +69,7 @@ ssl_cert = /etc/burp/ssl_cert-client.pem
ssl_key = /etc/burp/ssl_cert-client.key
# Client SSL ciphers
#ssl_ciphers =
#ssl_ciphers =
# Client SSL compression. Default is zlib5. Set to zlib0 to turn it off.
#ssl_compression = zlib5
......
......@@ -7,8 +7,8 @@ backend = burp1
# list the misc/auth directory to see the available backends
# to disable authentication you can set "auth: none"
auth = basic
# acl plugin
# list misc/auth directory to see the available backends
# acl plugin
# list misc/auth directory to see the available backends
# default is no ACL
acl = basic
......
......@@ -7,8 +7,8 @@ backend = burp1
# list the misc/auth directory to see the available backends
# to disable authentication you can set "auth: none"
auth = basic
# acl plugin
# list misc/auth directory to see the available backends
# acl plugin
# list misc/auth directory to see the available backends
# default is no ACL
acl = basic
......
......@@ -7,8 +7,8 @@ backend = burp1
# list the misc/auth directory to see the available backends
# to disable authentication you can set "auth: none"
auth = basic
# acl plugin
# list misc/auth directory to see the available backends
# acl plugin
# list misc/auth directory to see the available backends
# default is no ACL
acl = basic
......
......@@ -7,8 +7,8 @@ backend = burp1
# list the misc/auth directory to see the available backends
# to disable authentication you can set "auth: none"
auth = handler
# acl plugin
# list misc/auth directory to see the available backends
# acl plugin
# list misc/auth directory to see the available backends
# default is no ACL
acl = basic
......
......@@ -7,8 +7,8 @@ backend = burp1
# list the misc/auth directory to see the available backends
# to disable authentication you can set "auth: none"
auth = basic
# acl plugin
# list misc/auth directory to see the available backends
# acl plugin
# list misc/auth directory to see the available backends
# default is no ACL
acl = basic
......
......@@ -7,8 +7,8 @@ backend = burp1
# list the misc/auth directory to see the available backends
# to disable authentication you can set "auth: none"
auth = basic
# acl plugin
# list misc/auth directory to see the available backends
# acl plugin
# list misc/auth directory to see the available backends
# default is no ACL
acl = basic
......
......@@ -7,8 +7,8 @@ backend = burp1
# list the misc/auth directory to see the available backends
# to disable authentication you can set "auth: none"
auth = basic
# acl plugin
# list misc/auth directory to see the available backends
# acl plugin
# list misc/auth directory to see the available backends
# default is no ACL
acl = basic
......
......@@ -12,6 +12,7 @@ commands = flake8
[flake8]
exclude = .tox,docs,migrations,.git,docker,pkgs
ignore = E501,E722,W605,W504
extend-ignore = E203
max-line-length = 88
show-source = true
application-import-names = burpui
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment