Skip to content

Commit

Permalink
pep257 -> pydocstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Oct 11, 2016
1 parent e87e147 commit 3a8583d
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
4 changes: 3 additions & 1 deletion celery/apps/beat.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
"""This module is the 'program-version' of :mod:`celery.beat`.
"""Beat command-line program.
This module is the 'program-version' of :mod:`celery.beat`.
It does everything necessary to run that module
as an actual application, like installing signal handlers
Expand Down
4 changes: 3 additions & 1 deletion celery/apps/worker.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
"""This module is the 'program-version' of :mod:`celery.worker`.
"""Worker command-line program.
This module is the 'program-version' of :mod:`celery.worker`.
It does everything necessary to run that module
as an actual application, like installing signal handlers,
Expand Down
2 changes: 1 addition & 1 deletion celery/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""This module contains all exceptions used by the Celery API."""
"""Celery error types."""
from __future__ import absolute_import, unicode_literals

import numbers
Expand Down
2 changes: 1 addition & 1 deletion celery/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def __unicode__(self):


class PromiseProxy(Proxy):
"""This is a proxy to an object that hasn't yet been evaulated.
"""Proxy that evaluates object once.
:class:`Proxy` will evaluate the object each time, while the
promise will only evaluate it once.
Expand Down
4 changes: 2 additions & 2 deletions celery/worker/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@


class Timer(bootsteps.Step):
"""This step initializes the internal timer used by the worker."""
"""Timer bootstep."""

def create(self, w):
if w.use_eventloop:
Expand Down Expand Up @@ -190,7 +190,7 @@ def create(self, w):


class StateDB(bootsteps.Step):
"""This bootstep sets up the workers state db if enabled."""
"""Bootstep that sets up between-restart state database file."""

def __init__(self, w, **kwargs):
self.enabled = w.statedb
Expand Down
2 changes: 1 addition & 1 deletion requirements/pkgutils.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ setuptools>=20.6.7
wheel>=0.29.0
flake8>=2.5.4
flakeplus>=1.1
pep257
pydocstyle
tox>=2.3.1
sphinx2rst>=1.0
cyanide>=1.0.1
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ all_files = 1
ignore = N806, N802, N801, N803

[pep257]
ignore = D102,D104,D203,D105
ignore = D102,D104,D203,D105,D213

[bdist_rpm]
requires = pytz >= 2011b
Expand Down

0 comments on commit 3a8583d

Please sign in to comment.