Skip to content

Commit

Permalink
fix black and also badge order on readme (#452)
Browse files Browse the repository at this point in the history
* fix black and also badge order on readme

* potential pip fix for pyproj

* don't run docs on 3.7

* print log

* add black back

* specify envt for black

* force pip verion in black

* specify pip in deps

* another try at deps install

* add docs back to build
  • Loading branch information
Leah Wasser committed Nov 7, 2019
1 parent 38ffa30 commit 1fd95f4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
@@ -1,5 +1,5 @@
repos:
- repo: https://github.com/ambv/black
- repo: https://github.com/psf/black
rev: stable
hooks:
- id: black
Expand Down
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -13,7 +13,7 @@ matrix:
- os: linux
dist: xenial
python: 3.7
env: TOXENV=py37,black,docs
env: TOXENV=py37, black ,docs
- os: osx
language: generic

Expand All @@ -25,6 +25,9 @@ script:
- chmod +x .travis/test.sh
- ./.travis/test.sh

after_failure:
- cat /home/travis/build/earthlab/earthpy/.tox/black/log/black-2.log

deploy:
provider: pypi
user: lwasser
Expand Down
4 changes: 2 additions & 2 deletions README.md
@@ -1,4 +1,5 @@
[![DOI](https://zenodo.org/badge/122149160.svg)](https://zenodo.org/badge/latestdoi/122149160)
[![pyOpenSci](https://tinyurl.com/y22nb8up)](https://github.com/pyOpenSci/software-review/issues/12)
[![Build Status](https://travis-ci.org/earthlab/earthpy.svg?branch=master)](https://travis-ci.org/earthlab/earthpy)
[![Build status](https://ci.appveyor.com/api/projects/status/xgf5g4ms8qhgtp21?svg=true)](https://ci.appveyor.com/project/earthlab/earthpy)
[![codecov](https://codecov.io/gh/earthlab/earthpy/branch/master/graph/badge.svg)](https://codecov.io/gh/earthlab/earthpy)
Expand All @@ -8,12 +9,11 @@
# EarthPy

![PyPI](https://img.shields.io/pypi/v/earthpy.svg?color=purple&style=plastic)
[![pyOpenSci](https://tinyurl.com/y22nb8up)](https://github.com/pyOpenSci/software-review/issues/12)
![PyPI - Downloads](https://img.shields.io/pypi/dm/earthpy.svg?color=purple&label=pypi%20downloads&style=plastic)
![Conda](https://img.shields.io/conda/v/conda-forge/earthpy.svg?color=purple&style=plastic)
![Conda](https://img.shields.io/conda/dn/conda-forge/earthpy.svg?color=purple&label=conda-forge%20downloads&style=plastic)

EarthPy is makes it easier to plot and manipulate spatial data in Python.
EarthPy makes it easier to plot and manipulate spatial data in Python.

## Why EarthPy?

Expand Down
1 change: 1 addition & 0 deletions dev-requirements.txt
Expand Up @@ -11,3 +11,4 @@ sphinx-autobuild==0.7.1
sphinx_gallery==0.4.0
sphinx_rtd_theme==0.4.3
tox==3.13.2
pip>=19.0
4 changes: 3 additions & 1 deletion tox.ini
Expand Up @@ -17,7 +17,9 @@ commands =
codecov -e TOXENV

[testenv:black]
deps = black
deps =
pip>=19.0
black
basepython = python3
commands = black --check --verbose earthpy

Expand Down

0 comments on commit 1fd95f4

Please sign in to comment.