Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
thoppe committed Jun 11, 2019
1 parent 7d1f99d commit adeb021
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions DEV_README.md
Expand Up @@ -23,8 +23,8 @@ Use the following `~/.pypirc` file (with an updated username and password)
+ Test release, check coverage, and lint
+ Push the release to [pypi live](https://pypi.org/project/pixelhouse/)

tox
black --line-length 80 pixelhouse unincorporated_demos/ tests/
rm dist/ -rvf && python setup.py sdist
twine upload -r test dist/*
twine upload dist/*
tox
black --line-length 80 pixelhouse unincorporated_demos/ tests/
rm dist/ -rvf && python setup.py sdist
twine upload -r test dist/*
twine upload dist/*
2 changes: 1 addition & 1 deletion pixelhouse/canvas.py
Expand Up @@ -441,7 +441,7 @@ def load(self, filename):

# If needed, add in an alpha channel as fully opaque
if img.shape[2] == 3:
alpha = 255*np.ones_like(img[:, :, 0])
alpha = 255 * np.ones_like(img[:, :, 0])
img = np.dstack((img, alpha))

self.img = cv2.cvtColor(img, cv2.COLOR_BGRA2RGBA)
Expand Down

0 comments on commit adeb021

Please sign in to comment.