Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
hsinfan1996 committed Aug 6, 2023
1 parent 48de643 commit 55681c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clmm/theory/ccl.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _update_halo_density_profile(self):
"""updates halo density profile with set internal properties"""
# prepare mdef object
if self.massdef == "virial":
self.__delta_mdef = "vir"
self.__delta_mdef = "vir" # noqa
self.mdef = ccl.halos.MassDef(self.delta_mdef, self.mdef_dict[self.massdef])
# setting concentration (also updates hdpm)
self.cdelta = self.cdelta if self.hdpm else 4.0 # ccl always needs an input concentration
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ line-length = 100

[tool.pylint]
max-line-length = 100
disable = ["R0913"]
disable = ["R0913", "W0238"]
good-names = ["ra", "z", "z1", "z2", "a", "a1", "a2",
"gt", "gx", "mu", "da", "i",
"H0", "Omega_b0", "Omega_dm0", "Omega_k0",
Expand Down

0 comments on commit 55681c7

Please sign in to comment.