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
11 changes: 5 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
exclude: 'jsonpath2/parser/JSONPath.*'
repos:
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.4.4
rev: v1.5.2
hooks:
- id: autopep8
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: fix-encoding-pragma
- id: trailing-whitespace
Expand Down Expand Up @@ -35,7 +35,6 @@ repos:
- id: check-symlinks
- id: check-yaml
- id: detect-private-key
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: local
hooks:
Expand All @@ -49,8 +48,8 @@ repos:
entry: python -m pylint --rcfile=pylintrc
language: system
types: [python]
- repo: git://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.6
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.7
hooks:
- id: remove-tabs
- id: remove-crlf
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ stages:
- deploy

script:
- pip install .
- cd tests
- coverage run --include='*/site-packages/jsonpath2/*' --omit='*/site-packages/jsonpath2/parser/JSONPath*' -m pytest -xv
- coverage report -m --fail-under 100
- cd ..
- python setup.py bdist_wheel
- python setup.py sdist

install: pip install -r requirements-dev.txt
install:
- pip install coverage pep257 pre-commit pylint pytest readthedocs-sphinx-ext recommonmark setuptools sphinx sphinx-rtd-theme
- pip install .
jobs:
include:
- stage: lint
Expand Down
13 changes: 0 additions & 13 deletions requirements-dev.txt

This file was deleted.

3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
author_email='mark.borkum@pnnl.gov',
packages=find_packages(),
install_requires=[
'antlr4-python3-runtime==4.7.2',
'setuptools',
'six'
'antlr4-python3-runtime==4.7.2'
]
)