mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-12-18 17:20:16 +00:00
44254cf112
* Rename all Project Euler directories: Reason: The change was done to maintain consistency throughout the directory and to keep all directories in sorted order. Due to the above change, some config files had to be modified: 'problem_22` -> `problem_022` * Update scripts to pad zeroes in PE directories
18 lines
681 B
YAML
18 lines
681 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
|
|
- run: |
|
|
SKIP="./.*,./other/dictionary.txt,./other/words,./project_euler/problem_022/p022_names.txt"
|
|
codespell --ignore-words-list=ans,fo,followings,hist,iff,secant,som,tim --skip=$SKIP --quiet-level=2
|
|
- name: Codespell comment
|
|
if: ${{ failure() }}
|
|
uses: plettich/python_codespell_action@master
|