Skip to content

Commit

Permalink
Remove linting
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Apr 23, 2018
1 parent e85cee4 commit 2559f91
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 83 deletions.
25 changes: 0 additions & 25 deletions .pre-commit-config.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions .pre-commit-config.yaml.failing

This file was deleted.

35 changes: 0 additions & 35 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,12 @@ python:
- "2.7"
- "2.6"

.helpers:
- &reset_steps
env: []
before_script: []
install: skip
script: []
- &linter_base
stage: Linters
<<: *reset_steps
python: 3.6
- &pre_commit_linter_base
<<: *linter_base
install:
- pip install pre-commit

# Reset defaults:
<<: *reset_steps

env:
- SCRIPT_SRC=local
- SCRIPT_SRC=remote

cache:
pip: true
directories:
- $HOME/.pre-commit

install:
- yes | pip uninstall setuptools pip
Expand All @@ -44,20 +24,5 @@ script:
- .travis/helpers.sh "$TRAVIS_PYTHON_VERSION" "$SCRIPT_SRC"
- pip -V

after_failure:
- env

jobs:
fast_finish: true
allow_failures:
- env:
- ALLOW_FAILURE=true
include:
- <<: *pre_commit_linter_base
script:
- pre-commit run --all-files
- <<: *pre_commit_linter_base
env:
- ALLOW_FAILURE=true
script:
- pre-commit run --config .pre-commit-config.yaml.failing --all-files
7 changes: 0 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ You may want to perform something like:
$ source venv/bin/activate
$ pip install -r requirements.txt
It is also recommended to make linters run to keep up with coding standards
when you do commits:

.. code-block:: console
$ pre-commit install
Any pull request should include regenerated files, which can be generated by
running:

Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
invoke
packaging
pre-commit

0 comments on commit 2559f91

Please sign in to comment.