Skip to content

Commit

Permalink
ci: Ignore duplicate files when linting package
Browse files Browse the repository at this point in the history
We use a github action:

  https://github.com/hynek/build-and-inspect-python-package?tab=readme-ov-file

which runs a script to lint the python wheel it builds:

  https://pypi.org/project/check-wheel-contents/

This tool is warning about duplicate files between v2 and v3. The
skills schema did not change intentionally and we still want a copy in
both places.

Signed-off-by: Russell Bryant <[email protected]>
  • Loading branch information
russellb committed Jul 18, 2024
1 parent 3e808f1 commit 6acb4aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,8 @@ disable = [
[tool.pylint.reports]
reports = true
score = true

[tool.check-wheel-contents]
ignore = [
"W002", # ignore duplicate files
]

0 comments on commit 6acb4aa

Please sign in to comment.