Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9d1150f1ab | |||
| bc4037f721 |
@@ -20,7 +20,10 @@ exclude_lines =
|
|||||||
raise TypeError
|
raise TypeError
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
warnings.warn
|
warnings.warn
|
||||||
|
logger.debug
|
||||||
|
logger.info
|
||||||
logger.warning
|
logger.warning
|
||||||
|
logger.error
|
||||||
return NotHandled
|
return NotHandled
|
||||||
|
|
||||||
# Don't complain if non-runnable code isn't run:
|
# Don't complain if non-runnable code isn't run:
|
||||||
|
|||||||
+2
-4
@@ -24,10 +24,8 @@ jobs:
|
|||||||
|
|
||||||
- stage: publish
|
- stage: publish
|
||||||
python: '3.6'
|
python: '3.6'
|
||||||
before_script: skip
|
|
||||||
script: skip
|
script: skip
|
||||||
after_success: skip
|
env: PYPI_DEPLOY=true
|
||||||
env:
|
|
||||||
deploy: &pypi
|
deploy: &pypi
|
||||||
provider: pypi
|
provider: pypi
|
||||||
user: cvijdea
|
user: cvijdea
|
||||||
@@ -49,7 +47,7 @@ install:
|
|||||||
before_script:
|
before_script:
|
||||||
- coverage erase
|
- coverage erase
|
||||||
- |
|
- |
|
||||||
[[ -z "$TOXENV" ]] && REPORT_COVERAGE="yes" || REPORT_COVERAGE="no";
|
[[ -z "$TOXENV" && -z "$PYPI_DEPLOY" ]] && REPORT_COVERAGE="yes" || REPORT_COVERAGE="no";
|
||||||
echo "Reporting coverage: ${REPORT_COVERAGE}"
|
echo "Reporting coverage: ${REPORT_COVERAGE}"
|
||||||
- |
|
- |
|
||||||
[[ -z "$TOXENV" && ! -z "$DRF" && "$DRF" != "master" ]] && USE_DETOX="yes" || USE_DETOX="no";
|
[[ -z "$TOXENV" && ! -z "$DRF" && "$DRF" != "master" ]] && USE_DETOX="yes" || USE_DETOX="no";
|
||||||
|
|||||||
@@ -2,6 +2,12 @@
|
|||||||
Changelog
|
Changelog
|
||||||
#########
|
#########
|
||||||
|
|
||||||
|
*********
|
||||||
|
**1.2.1**
|
||||||
|
*********
|
||||||
|
|
||||||
|
- Fixed deployment issues
|
||||||
|
|
||||||
*********
|
*********
|
||||||
**1.2.0**
|
**1.2.0**
|
||||||
*********
|
*********
|
||||||
|
|||||||
@@ -97,6 +97,8 @@ class EndpointEnumerator(_EndpointEnumerator):
|
|||||||
namespace="%s:%s" % (namespace, pattern.namespace) if namespace else pattern.namespace
|
namespace="%s:%s" % (namespace, pattern.namespace) if namespace else pattern.namespace
|
||||||
)
|
)
|
||||||
api_endpoints.extend(nested_endpoints)
|
api_endpoints.extend(nested_endpoints)
|
||||||
|
else:
|
||||||
|
logger.warning("unknown pattern type {}".format(type(pattern)))
|
||||||
|
|
||||||
api_endpoints = sorted(api_endpoints, key=endpoint_ordering)
|
api_endpoints = sorted(api_endpoints, key=endpoint_ordering)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user