Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v2.0.4
with:
environment-file: ./environment-dev.yml
environment-file: ./environment.yml
- name: "Build docs"
shell: bash -el {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ultraplot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v2.0.4
with:
environment-file: ./environment-dev.yml
environment-file: ./environment.yml
init-shell: bash
create-args: >-
--verbose
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/linter.yml

This file was deleted.

49 changes: 13 additions & 36 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,16 @@
# See: https://pre-commit.com/hooks.html
# Must put flake8 in separate group so 'black' is executed first
# WARNING: Make sure to keep flags in sync with ci/run-linter.sh
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: double-quote-string-fixer
- id: check-docstring-first
- id: check-merge-conflict
- id: end-of-file-fixer
- id: trailing-whitespace
ci:
autofix_commit_msg: |
[pre-commit.ci] auto fixes from pre-commit.com hooks

- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
hooks:
- id: isort
args: ['--line-width=88', '--multi-line=3', '--force-grid-wrap=0', '--trailing-comma']
exclude: '(^docs|__init__)'
for more information, see https://pre-commit.ci
autofix_prs: false
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: monthly
skip: []
submodules: false

- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.8.0
hooks:
- id: flake8
args: ['--max-line-length=88', '--ignore=W503,E402,E731,E741']

# apply once this handles long tables better
# - repo: https://github.com/PyCQA/doc8
# rev: 0.10.1
# hooks:
# - id: doc8
# args: ['--max-line-length', '88', '--allow-long-titles']

# apply after function keyword args can be ignored
# - repo: https://github.com/ambv/black
# rev: 22.1.0
# hooks:
# - id: black
# args: ['--line-length', '88', '--skip-string-normalization']
- id: black
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ build:


conda:
environment: ./environment-dev.yml
environment: ./environment.yml

sphinx:
configuration: ./docs/conf.py
Expand Down
42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.

6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. image:: UltraPlotLogo.svg
:width: 100%

|build-status| |docs| |pypi| |code-style| |pr-welcome| |license|
|build-status| |docs| |pypi| |code-style| |pre-commit| |pr-welcome| |license|

A succinct `matplotlib <https://matplotlib.org/>`__ wrapper for making beautiful,
publication-quality graphics. It builds upon ProPlot_ and transports it into the modern age (supporting mpl 3.9.0+).
Expand Down Expand Up @@ -63,3 +63,7 @@ inside the ``ultraplot`` folder.
.. |license| image:: https://img.shields.io/github/license/ultraplot/ultraplot.svg
:alt: license
:target: LICENSE.txt

.. |pre-commit| image:: https://results.pre-commit.ci/badge/github/Ultraplot/ultraplot/main.svg
:target: https://results.pre-commit.ci/latest/github/Ultraplot/ultraplot/main
:alt: pre-commit.ci status
26 changes: 0 additions & 26 deletions environment-dev.yml

This file was deleted.

26 changes: 21 additions & 5 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
name: ultraplot
name: ultraplot-dev
channels:
- conda-forge
- nodefaults
dependencies:
- python>=3.9,<3.13
- python>=3.10,<3.13
- numpy
- matplotlib>=3.9
- cartopy
- xarray
- seaborn
- pandas
- pytest
- pytest-mpl
- numpy>=1.20.0
- matplotlib>=3.9
- jupyter
- pip
- pint
- sphinx
- nbsphinx
- jupytext
- sphinx-copybutton
- sphinx-autoapi
- sphinx-automodapi
- sphinx-rtd-theme
- basemap >=1.4.1
- pre-commit
- pip:
- git+https://github.com/ultraplot/UltraTheme.git
File renamed without changes.
File renamed without changes.
Loading