Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
try bumping versions
Browse files Browse the repository at this point in the history
Signed-off-by: Nathaniel Starkman (@nstarman) <nstarkman@protonmail.com>
  • Loading branch information
nstarman committed Sep 11, 2021
1 parent 85f1858 commit ad9d12e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions discO/core/tests/test_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
##############################################################################


class TestDF(object):
"""docstring for TestDF"""
class FallbackDF(object):
"""Fallback DF if galpy is not installed."""

def __init__(self, potential):
self._pot = potential
Expand Down Expand Up @@ -235,7 +235,7 @@ def test___new__(self):
msamp = self.obj(
PotentialWrapper(self.potential),
total_mass=10 * u.solMass,
df=TestDF,
df=FallbackDF,
key=key,
)

Expand Down Expand Up @@ -264,7 +264,7 @@ def test___new__(self):
msamp = self.obj(
PotentialWrapper(self.potential),
key=key,
df=TestDF,
df=FallbackDF,
total_mass=10 * u.solMass,
)

Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ packages = find:
python_requires = >=3.8
setup_requires = setuptools_scm
install_requires =
astropy
numpy
astropy >= 4.3
numpy >= 1.17
PyYAML
scipy
typing_extensions

[options.extras_require]
all =
gala
galpy @ git+https://github.com/jobovy/galpy.git
galpy >= 1.7
tqdm
test =
pytest-astropy
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ skip_install = true
changedir = .
description = check code style, with black
deps = black
commands = black ./discO -l 79 --check
commands = black ./discO -l 100 --check

[flake8]
ignore = F401, W503, E203, E743, F403, E702
Expand Down

0 comments on commit ad9d12e

Please sign in to comment.