mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-03-09 21:07:33 +00:00
Merge branch 'test-ci', remote-tracking branch 'origin/pr/107'
This commit is contained in:
commit
8ade0f68b0
@ -8,7 +8,7 @@ python:
|
||||
- "3.7"
|
||||
- "nightly"
|
||||
- "pypy3.5"
|
||||
install: pip install -U $DEPS "pytest<4.1" pytest-asyncio pytest-xdist flaky structlog
|
||||
install: pip install -U $DEPS pytest pytest-asyncio flaky structlog
|
||||
script: pytest
|
||||
env:
|
||||
global:
|
||||
|
@ -343,7 +343,7 @@ branch
|
||||
Which branch to track? Default: ``master``.
|
||||
|
||||
use_max_tag
|
||||
Set this to ``true`` to check for the max tag on BitBucket. Will return the biggest one
|
||||
Set this to ``true`` to check for the max tag on GitLab. Will return the biggest one
|
||||
sorted by ``pkg_resources.parse_version``.
|
||||
|
||||
host
|
||||
|
1
setup.py
1
setup.py
@ -28,7 +28,6 @@ setup(
|
||||
tests_require = [
|
||||
'pytest',
|
||||
'pytest-asyncio',
|
||||
'pytest-xdist',
|
||||
'flaky',
|
||||
],
|
||||
entry_points = {
|
||||
|
@ -65,7 +65,8 @@ def raise_on_logger_msg():
|
||||
if method_name in ('warning', 'error'):
|
||||
if 'exc_info' in event_dict:
|
||||
raise event_dict['exc_info']
|
||||
raise RuntimeError(event_dict['event'])
|
||||
if not event_dict['event'].startswith('rate limited'):
|
||||
raise RuntimeError(event_dict['event'])
|
||||
return event_dict['event']
|
||||
|
||||
structlog.configure([proc])
|
||||
|
Loading…
Reference in New Issue
Block a user