Skip to content

Commit

Permalink
Merge pull request #725 from camptocamp/fix-spell-ignore
Browse files Browse the repository at this point in the history
Also ignore the package-lock.json
  • Loading branch information
sbrunner authored Sep 23, 2022
2 parents 1d5ad90 + 415ee80 commit d5f67ce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ VERSION = $(strip $(shell poetry version --short))
.PHONY: build
build: ## Build the Docker images
docker build --build-arg=VERSION=$(VERSION) --tag=$(GITHUB_REPOSITORY) .
docker build --build-arg=VERSION=$(VERSION) --tag=$(GITHUB_REPOSITORY) .
```

### To Docker registry
Expand Down
3 changes: 2 additions & 1 deletion c2cciutils/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@


# Default value of the field path 'Checks codespell config ignore_re'
CODESPELL_IGNORE_REGULAR_EXPRESSION_DEFAULT = ["(.*/)?poetry\\.lock"]
CODESPELL_IGNORE_REGULAR_EXPRESSION_DEFAULT = ["(.*/)?poetry\\.lock", "(.*/)?package-lock\\.json"]


# Checks
Expand Down Expand Up @@ -274,6 +274,7 @@
#
# default:
# - (.*/)?poetry\.lock
# - (.*/)?package-lock\.json
"ignore_re": List[str],
},
total=False,
Expand Down
2 changes: 1 addition & 1 deletion c2cciutils/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
"ignore_re": {
"title": "codespell ignore regular expression",
"description": "List of regular expression that should be ignored",
"default": ["(.*/)?poetry\\.lock"],
"default": ["(.*/)?poetry\\.lock", "(.*/)?package-lock\\.json"],
"type": "array",
"items": { "type": "string" }
}
Expand Down

0 comments on commit d5f67ce

Please sign in to comment.