File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ install:
4949cache : pip
5050before_script :
5151- make lint
52- - markdownlint --config .markdownlint.json README.md CONTRIBUTING.md
5352- python ci/set_secrets_file.py
5453script :
5554- pytest --exitfirst -vvv tests/mock_vws/"$TEST_FILENAME" --cov=src --cov=tests
Original file line number Diff line number Diff line change @@ -6,12 +6,18 @@ Travis CI is the canonical source truth.
66
77## Install Contribution Dependencies
88
9- Install dependencies in a virtual environment.
9+ Install Python dependencies in a virtual environment.
1010
1111``` sh
1212pip install --editable .[dev]
1313```
1414
15+ Insall ` npm ` dependencies for linting Markdown files:
16+
17+ ```
18+ npm install -g markdownlint-cli
19+ ```
20+
1521Spell checking requires ` enchant ` .
1622This can be installed on macOS, for example, with [ Homebrew] ( http://brew.sh ) :
1723
@@ -25,6 +31,8 @@ and on Ubuntu with `apt`:
2531apt-get install -y enchant
2632```
2733
34+ and to lint
35+
2836## Linting
2937
3038Run lint tools:
Original file line number Diff line number Diff line change 1414 pyroma .
1515 vulture . --min-confidence 100
1616 yapf --diff --recursive src/ tests/ ci/
17+ markdownlint --config .markdownlint.json README.md CONTRIBUTING.md
1718
1819fix-lint :
1920 autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables .
You can’t perform that action at this time.
0 commit comments