mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 06:05:58 -06:00
fix CI pipelines
This commit is contained in:
parent
4f0bf4ca9c
commit
faeb15ec5f
5 changed files with 8 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -14,6 +14,7 @@ clean.sh
|
|||
.pylintrc
|
||||
.pytest_cache
|
||||
.python-version
|
||||
.pre-commit-config.yaml
|
||||
dist
|
||||
_build
|
||||
.tags
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ test:format:
|
|||
stage: test
|
||||
image: python:3.8
|
||||
script:
|
||||
- pip install black
|
||||
- black --check .
|
||||
tags:
|
||||
- lint
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Burp-UI
|
||||
=======
|
||||
|
||||
.. image:: https://git.ziirish.me/ziirish/burp-ui/badges/master/build.svg
|
||||
.. image:: https://git.ziirish.me/ziirish/burp-ui/badges/master/pipeline.svg
|
||||
:target: https://git.ziirish.me/ziirish/burp-ui/pipelines
|
||||
:alt: Build Status
|
||||
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@ from ._compat import to_unicode
|
|||
|
||||
def parse_db_setting(string):
|
||||
parts = re.search(
|
||||
"(?:(?P<backend>\w+)(?:\+(?P<driver>\w+))?://)?"
|
||||
"(?:(?P<user>\w+)(?::?(?P<pass>.+))?@)?"
|
||||
"(?P<host>[\w_.-]+):?(?P<port>\d+)?(?:/(?P<db>\w+))?",
|
||||
r"(?:(?P<backend>\w+)(?:\+(?P<driver>\w+))?://)?"
|
||||
r"(?:(?P<user>\w+)(?::?(?P<pass>.+))?@)?"
|
||||
r"(?P<host>[\w_.-]+):?(?P<port>\d+)?(?:/(?P<db>\w+))?",
|
||||
string,
|
||||
)
|
||||
if not parts: # pragma: no cover
|
||||
|
|
|
|||
4
tox.ini
4
tox.ini
|
|
@ -12,7 +12,7 @@ commands = flake8
|
|||
|
||||
[flake8]
|
||||
exclude = .tox,docs,migrations,.git,docker,pkgs
|
||||
extend-ignore = E203
|
||||
max-line-length = 88
|
||||
extend-ignore = E203,E722,E402,E501
|
||||
max-line-length = 120
|
||||
show-source = true
|
||||
application-import-names = burpui
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue