Skip to content

Commit

Permalink
Fix commenting style
Browse files Browse the repository at this point in the history
  • Loading branch information
cmlsharp committed Aug 14, 2017
1 parent 2dbb7c3 commit 0e83336
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions style50/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# https://stackoverflow.com/questions/17583443/what-is-the-correct-way-to-share-package-version-with-setup-py-and-the-package
try:
_dist = get_distribution("style50")
# Normalize path for cross-OS compatibility
# Normalize path for cross-OS compatibility.
_dist_loc = os.path.normcase(_dist.location)
_here = os.path.normcase(__file__)
if not _here.startswith(os.path.join(_dist_loc, "style50")):
# this version is not installed, but another version is.
# This version is not installed, but another version is.
raise DistributionNotFound
except DistributionNotFound:
__version__ = "locally installed, no version information available"
Expand All @@ -19,5 +19,5 @@

from .style50 import Style50, StyleCheck, Error

# Ensure that all language checks are registered
# Ensure that all language checks are registered.
from . import languages

0 comments on commit 0e83336

Please sign in to comment.