Skip to content

Commit

Permalink
pylint fixes
Browse files Browse the repository at this point in the history
- exclude _version.py from linting
- add simle doc string to __init__.py because pylint wants it
  • Loading branch information
orbeckst committed May 9, 2018
1 parent 64037d4 commit 2f207ef
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=
ignore=_version.py

# Add files or directories matching the regex patterns to the blacklist. The
# regex matches against base names, not paths.
Expand Down
19 changes: 19 additions & 0 deletions pmda/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@
#
# Released under the GNU Public Licence, v2 or any higher version

"""
PMDA --- Parallel MDAnalysis
============================
Ready to use analysis and buildings blocks to write parallel analysis
algorithms using MDAnalysis with dask.
The full documentation can be found at https://www.mdanalysis.org/pmda/.
Note that by default no modules are imported in the top-level name
space. Import what you need::
import pmda.parallel
import pmda.custom
import pmda.rms
import pmda.contacts
"""

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions

0 comments on commit 2f207ef

Please sign in to comment.