Skip to content

Commit

Permalink
Reenable the Travis linter pre-commit test (#2364)
Browse files Browse the repository at this point in the history
The release of ruby `gem==3.0.0` in December 2018 broke the `pre-commit`
package because it used the `--no-ri / --no-rdoc` flags that were
deprecated in that gem release. These flags were replaced by the new
`--no-document` flag in `pre-commit==1.13.0`, which allows us to
reenable the Travis linter that had been temporarily disabled.
  • Loading branch information
sphuber committed Jan 3, 2019
1 parent 19110f9 commit a4bbfd1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -316,12 +316,12 @@
)$
pass_filenames: false

# - id: travis-linter
# name: travis
# entry: travis lint
# files: .travis.yml
# language: ruby
# additional_dependencies: ['travis']
- id: travis-linter
name: travis
entry: travis lint
files: .travis.yml
language: ruby
additional_dependencies: ['travis']

- id: version-number
name: Check version numbers
Expand Down
2 changes: 1 addition & 1 deletion setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"pytest-cov==2.5.1"
],
"dev_precommit": [
"pre-commit==1.8.2",
"pre-commit==1.13.0",
"yapf==0.23.0",
"prospector==1.1.5",
"pylint==1.9.3",
Expand Down

0 comments on commit a4bbfd1

Please sign in to comment.