Skip to content

Commit

Permalink
WIP: Infra clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Dec 6, 2024
1 parent 0968b73 commit 04a8d90
Show file tree
Hide file tree
Showing 22 changed files with 348 additions and 562 deletions.
5 changes: 5 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# flake8 does not support pyproject.toml (https://github.com/PyCQA/flake8/issues/234)

[flake8]
max-line-length = 100
exclude = __init__.py
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ updates:
actions:
patterns:
- "*"

31 changes: 18 additions & 13 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,33 +30,38 @@ jobs:
python: 3.x
toxenv: codestyle

- name: Python 3.7 with minimal dependencies
- name: Link checks
os: ubuntu-latest
python: 3.7
toxenv: py37-test
python: 3.x
toxenv: linkcheck

- name: OS X - Python 3.9 with minimal dependencies
- name: OS X - Python 3.13 with minimal dependencies
os: macos-latest
python: 3.9
toxenv: py39-test
python: '3.13'
toxenv: py313-test

- name: Windows - Python 3.11 with all optional dependencies
os: windows-latest
python: '3.11'
toxenv: py11-test-alldeps
toxenv: py311-test-alldeps
toxargs: -v

- name: Python 3.11 with remote data, all dependencies, and coverage
- name: Python 3.12 with remote data, all dependencies, and coverage
os: ubuntu-latest
python: '3.11'
toxenv: py11-test-alldeps-cov
python: '3.12'
toxenv: py312-test-alldeps-cov
toxargs: -v
posargs: --remote-data=any

- name: Python 3.11 with latest dev versions of key dependencies
- name: Python 3.13 with latest dev versions of key dependencies
os: ubuntu-latest
python: '3.13'
toxenv: py313-test-devdeps

- name: Python 3.11 with oldest version of key dependencies
os: ubuntu-latest
python: '3.11'
toxenv: py11-test-devdeps
toxenv: py311-test-oldestdeps

steps:
- name: Checkout code
Expand All @@ -70,7 +75,7 @@ jobs:
- name: Install base dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox codecov
python -m pip install tox
- name: Install graphviz dependency
if: ${{ contains(matrix.toxenv, 'build_docs') }}
run: sudo apt-get -y install graphviz
Expand Down
12 changes: 0 additions & 12 deletions LONG_DESCRIPTION.rst

This file was deleted.

1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include README.rst
include CHANGES.rst

include pyproject.toml
include setup.cfg

recursive-include docs *
recursive-include licenses *
Expand Down
22 changes: 15 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
astroplan
=========

Observation planning package for astronomers

* Code: https://github.com/astropy/astroplan
* Docs: https://astroplan.readthedocs.io/
* License: BSD-3

.. image:: https://readthedocs.org/projects/astroplan/badge/?version=latest
:target: https://astroplan.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
Expand All @@ -25,10 +19,24 @@ Observation planning package for astronomers
:target: https://pypi.python.org/pypi/astroplan/
:alt: Latest release

* Code: https://github.com/astropy/astroplan
* Docs: https://astroplan.readthedocs.io/
* License: BSD-3 Clause

**astroplan** is an open-source observation planning package for
astronomers that can help you plan for everything but the clouds.

It is an `Astropy <http://www.astropy.org>`__
`affiliated package <http://www.astropy.org/affiliated/index.html>`__ that
seeks to make your life as an observational astronomer a little less
infuriating.

Contributions welcome!

Attribution
+++++++++++

If you use astroplan in your work, please cite `Morris et al. 2018 <https://ui.adsabs.harvard.edu/abs/2018AJ....155..128M/abstract>`_:
If you use astroplan in your work, please cite `Morris et al. 2018 <https://ui.adsabs.harvard.edu/abs/2018AJ....155..128M/abstract>`_:

.. code :: bibtex
Expand Down
12 changes: 0 additions & 12 deletions astroplan/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
astroplan is an open source (BSD licensed) observation planning package for
astronomers that can help you plan for everything but the clouds.
It is an in-development `Astropy <http://www.astropy.org>`__
`affiliated package <http://www.astropy.org/affiliated/index.html>`__ that
seeks to make your life as an observational astronomer a little less
infuriating.
* Code: https://github.com/astropy/astroplan
* Docs: https://astroplan.readthedocs.io/
"""

try:
from .version import version as __version__
Expand Down
46 changes: 0 additions & 46 deletions astroplan/conftest.py

This file was deleted.

Loading

0 comments on commit 04a8d90

Please sign in to comment.