mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-24 13:31:07 +00:00
db0db01d87
* Use self-documenting option instead of cryptic option @mateuszz0000 Your review, please. Pretend that you do not know what `-L` stands for. How many keystrokes and clicks does it take to confirm the purpose of this option? * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
18 lines
676 B
YAML
18 lines
676 B
YAML
# GitHub Action to automate the identification of common misspellings in text files
|
|
# https://github.com/codespell-project/codespell
|
|
name: codespell
|
|
on: [push, pull_request]
|
|
jobs:
|
|
codespell:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v2
|
|
- run: pip install codespell flake8
|
|
- run: |
|
|
SKIP="./.*,./other/dictionary.txt,./other/words,./project_euler/problem_22/p022_names.txt"
|
|
codespell --ignore-words-list=ans,fo,hist,iff,secant,som,tim --skip=$SKIP --quiet-level=2
|
|
- name: Codespell comment
|
|
if: ${{ failure() }}
|
|
uses: plettich/python_codespell_action@master
|