mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 23:11:09 +00:00
565060aa99
* actions/setup-python@v2 * fixup! Format Python code with psf/black push * Update autoblack.yml * updating DIRECTORY.md * Update codespell.yml Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
15 lines
540 B
YAML
15 lines
540 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 -L ans,fo,hist,iff,secant,tim --skip=$SKIP --quiet-level=2
|