Skip to content

Commit

Permalink
Enable spellcheck tox env
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Morales <[email protected]>
  • Loading branch information
electrocucaracha committed Apr 5, 2023
1 parent 0e96026 commit 58393f4
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@

# Dependency directories (remove the comment below to include it)
# vendor/

# Tox environments
.tox/
*.dic
21 changes: 21 additions & 0 deletions .spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2023
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

matrix:
- name: markdown
dictionary:
wordlists:
- .wordlist.txt
pipeline:
- pyspelling.filters.markdown:
sources:
- '**/*.md'
aspell:
ignore-case: true
6 changes: 6 additions & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
href
https
Kubernetes
Nephio
repo
SIG
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Please see the following resources for more information:
* Wiki: [wiki.nephio.org](https://wiki.nephio.org)
* Slack: [nephio.slack.com](https://nephio.slack.com)
* Proof-of-Concept:
[Nephio ONE Sumit 2022 Workshop](https://github.com/nephio-project/one-summit-22-workshop)
[Nephio ONE Summit 2022 Workshop](https://github.com/nephio-project/one-summit-22-workshop)
* Governance:
[github.com/nephio-project/governance](https://github.com/nephio-project/governance)

14 changes: 14 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[tox]
minversion = 1.6
skipsdist = True
envlist = lint

[testenv]
passenv = http_proxy,HTTP_PROXY,https_proxy,HTTPS_PROXY,no_proxy,NO_PROXY
usedevelop = False
install_command = pip install {opts} {packages}

[testenv:spell]
deps =
pyspelling
commands = pyspelling -c .spellcheck.yml

0 comments on commit 58393f4

Please sign in to comment.