Skip to content

Commit

Permalink
[INFRA] Relax line length limit for linting YAML files (#673)
Browse files Browse the repository at this point in the history
* MNT: Relax line length limit in YAML

* MNT: Ignore pycache in tools dir

* CI: Update configuration based on Travis validator

Also bump Python version and cache pip
  • Loading branch information
effigies authored Nov 17, 2020
1 parent 580183f commit 744b3d4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
matrix:
os: linux
dist: focal
language: shell

jobs:
include:
- language: node_js
node_js:
- "10"
node_js: 10
cache:
directories:
- node_modules # NPM packages
Expand All @@ -11,7 +14,8 @@ matrix:
script:
- remark src/*.md src/*/*.md --frail
- language: python
python: 3.7
python: 3.9
cache: pip
install:
- pip install yamllint
script:
Expand Down
5 changes: 5 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
extends: default

rules:
line-length:
max: 99
1 change: 1 addition & 0 deletions tools/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__

0 comments on commit 744b3d4

Please sign in to comment.