Skip to content

Commit

Permalink
BUG: remove stray print statement (#116)
Browse files Browse the repository at this point in the history
Fixes a print statement left in #115.

Also makes sure this doesn't happen again by adding the `flake8-print`
plugin to the pre-commit config.
  • Loading branch information
ntessore authored Jul 20, 2023
1 parent 2f5d861 commit 1d52130
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ repos:
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
- id: flake8
additional_dependencies:
- flake8-print
2 changes: 0 additions & 2 deletions glass/galaxies.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ def gaussian_phz(z: ArrayLike, sigma_0: float | ArrayLike, *,

zphot = rng.normal(z, sigma)

print(zphot)

if lower is None:
lower = 0.
if upper is None:
Expand Down

0 comments on commit 1d52130

Please sign in to comment.