Skip to content

Commit

Permalink
Instal pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
evelyn9191 committed Feb 3, 2020
1 parent 333eea8 commit 63f1433
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ repos:
rev: 19.10b0
hooks:
- id: black
language_version: python3.7
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
Expand Down
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ python:

#cache: pip

install: "pip install Cython && pip install ."
install: "pip install . pre-commit"

# python-requires?

#jobs:
# include:
Expand All @@ -28,4 +30,5 @@ before_script: # configure a headless display for testing plot generation
- "export DISPLAY=:99.0"

script:
- pre-commit run --all-files
- nosetests .
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"networkx==1.11",
"pyshp",
"smopy",
"Cython",
"nose",
"six",
"geoindex",
Expand Down

0 comments on commit 63f1433

Please sign in to comment.