mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 04:35:17 +01:00
codespell: workflow, config + 1 single uno only typo fixed! (#426)
* Add github action to codespell main on push and PRs * Add rudimentary codespell config * Add pre-commit definition for codespell * Fixed a single typo codespell identifier
This commit is contained in:
committed by
GitHub
parent
20ea0c126a
commit
088fa3b44c
22
.github/workflows/codespell.yml
vendored
Normal file
22
.github/workflows/codespell.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
name: Codespell
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
codespell:
|
||||||
|
name: Check for spelling errors
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Codespell
|
||||||
|
uses: codespell-project/actions-codespell@v2
|
||||||
@@ -31,3 +31,10 @@ repos:
|
|||||||
- id: detect-private-key
|
- id: detect-private-key
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
|
||||||
|
- repo: https://github.com/codespell-project/codespell
|
||||||
|
rev: v2.2.5
|
||||||
|
hooks:
|
||||||
|
- id: codespell
|
||||||
|
additional_dependencies:
|
||||||
|
- tomli
|
||||||
|
|||||||
@@ -74,6 +74,6 @@ failing tests, 'WebDriver' object has no attribute 'find_element_by_id'
|
|||||||
|
|
||||||
pomodoro: doesn't run it only tests
|
pomodoro: doesn't run it only tests
|
||||||
|
|
||||||
currency_converter: backend doesnt return anything
|
currency_converter: backend doesn't return anything
|
||||||
|
|
||||||
weather_app only runs test, no code existed
|
weather_app only runs test, no code existed
|
||||||
|
|||||||
@@ -99,3 +99,8 @@ exclude = '''
|
|||||||
)/
|
)/
|
||||||
)
|
)
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
[tool.codespell]
|
||||||
|
skip = '.git,*.pdf,*.svg'
|
||||||
|
#
|
||||||
|
# ignore-words-list = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user