Skip to content
This repository was archived by the owner on Jul 22, 2019. It is now read-only.

Commit daaad88

Browse files
committed
tests: pep257 to pydocstyle
Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
1 parent 49c4e3b commit daaad88

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ cache:
2424

2525
install:
2626
# Install test dependencies
27-
- "travis_retry pip install coveralls pep257 Sphinx twine wheel"
27+
- "travis_retry pip install coveralls pydocstyle Sphinx twine wheel"
2828
- "travis_retry pip install pytest pytest-pep8 pytest-cov pytest-cache"
2929
- "travis_retry pip install -r requirements.${REQUIREMENTS}.txt"
3030
- "travis_retry pip install -e ."
3131

3232
script:
33-
- pep257 flask_appfactory
33+
- pydocstyle flask_appfactory
3434
- "sphinx-build -qnNW docs docs/_build/html"
3535
- python setup.py test
3636
- "sphinx-build -qnNW -b doctest docs docs/_build/doctest"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN pip install Flask \
1818
coveralls \
1919
ipython \
2020
itsdangerous \
21-
pep257 \
21+
pydocstyle \
2222
pytest \
2323
pytest-cache \
2424
pytest-cov \

flask_appfactory/cli.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
#
33
# This file is part of Flask-AppFactory
4-
# Copyright (C) 2015 CERN.
4+
# Copyright (C) 2015, 2016 CERN.
55
#
66
# Flask-AppFactory is free software; you can redistribute it and/or
77
# modify it under the terms of the Revised BSD License; see LICENSE
@@ -19,7 +19,6 @@
1919

2020

2121
class CLIDiscoveryRegistry(ModuleAutoDiscoveryRegistry):
22-
2322
"""Discover CLI modules and register them on a command collection.
2423
2524
Searches for a variable ``commands`` in a module ``cli`` in each package.

flask_appfactory/ext/jinja2.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
#
33
# This file is part of Flask-AppFactory
4-
# Copyright (C) 2015 CERN.
4+
# Copyright (C) 2015, 2016 CERN.
55
#
66
# Flask-AppFactory is free software; you can redistribute it and/or
77
# modify it under the terms of the Revised BSD License; see LICENSE
@@ -43,7 +43,6 @@ def blueprint_is_module(blueprint):
4343

4444

4545
class OrderAwareDispatchingJinjaLoader(DispatchingJinjaLoader):
46-
4746
"""Order aware dispatching Jinja loader.
4847
4948
Customization of default Flask Jinja2 template loader. By default the

run-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# modify it under the terms of the Revised BSD License; see LICENSE
66
# file for more details.
77

8-
pep257 flask_appfactory && \
8+
pydocstyle flask_appfactory && \
99
sphinx-build -qnNW docs docs/_build/html && \
1010
python setup.py test && \
1111
sphinx-build -qnNW -b doctest docs docs/_build/doctest

0 commit comments

Comments
 (0)