Skip to content

Commit

Permalink
Fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Dec 6, 2024
1 parent 573f9f4 commit e6acef8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 0 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
# Define list of packages for which to display version numbers in the test log
PYTEST_HEADER_MODULES['astropy'] = 'astropy'
PYTEST_HEADER_MODULES['pytz'] = 'pytz'
PYTEST_HEADER_MODULES['pyephem'] = 'ephem'
PYTEST_HEADER_MODULES['matplotlib'] = 'matplotlib'
PYTEST_HEADER_MODULES['astroquery'] = 'astroquery'
PYTEST_HEADER_MODULES['pyvo'] = 'pyvo'
if "h5py" in PYTEST_HEADER_MODULES:
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ namespaces = true
"baseline_images/*.png",
]

[tool.setuptools_scm]
write_to = "astroplan/_version.py"

[build-system]
requires = ["setuptools",
"setuptools_scm"]
Expand Down
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ description =
deps =

devdeps: numpy>=0.0.dev0
devdeps: matplotlib>=0.0.dev0
devdeps: astropy>=0.0.dev0

oldestdeps: numpy==1.23.2
Expand All @@ -55,6 +56,9 @@ commands =
cov: pytest --pyargs astroplan {toxinidir}/docs --cov astroplan --cov-config={toxinidir}/pyproject.toml {posargs}
cov: coverage xml -o {toxinidir}/coverage.xml

pip_pre =
devdeps: true

[testenv:build_docs]
changedir = docs
description = invoke sphinx-build to build the HTML docs
Expand All @@ -74,6 +78,6 @@ commands =
[testenv:codestyle]
skip_install = true
changedir = .
description = check code style, e.g. with flake8
description = check code style, e.g., with flake8
deps = flake8
commands = flake8 astroplan --count --max-line-length=100
commands = flake8 astroplan --count

0 comments on commit e6acef8

Please sign in to comment.