Rename Project Euler directories and other dependent changes (#3300)

* 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
This commit is contained in:
Dhruv 2020-10-15 12:43:28 +05:30 committed by GitHub
parent 2d7e08ef83
commit 44254cf112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
177 changed files with 108 additions and 112 deletions

View File

@ -10,7 +10,7 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
- run: pip install codespell - run: pip install codespell
- run: | - run: |
SKIP="./.*,./other/dictionary.txt,./other/words,./project_euler/problem_22/p022_names.txt" 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 codespell --ignore-words-list=ans,fo,followings,hist,iff,secant,som,tim --skip=$SKIP --quiet-level=2
- name: Codespell comment - name: Codespell comment
if: ${{ failure() }} if: ${{ failure() }}

View File

@ -43,13 +43,13 @@ repos:
- id: codespell - id: codespell
args: args:
- --ignore-words-list=ans,fo,followings,hist,iff,secant,som,tim - --ignore-words-list=ans,fo,followings,hist,iff,secant,som,tim
- --skip="./.*,./other/dictionary.txt,./other/words,./project_euler/problem_22/p022_names.txt" - --skip="./.*,./other/dictionary.txt,./other/words,./project_euler/problem_022/p022_names.txt"
- --quiet-level=2 - --quiet-level=2
exclude: | exclude: |
(?x)^( (?x)^(
other/dictionary.txt | other/dictionary.txt |
other/words | other/words |
project_euler/problem_22/p022_names.txt project_euler/problem_022/p022_names.txt
)$ )$
- repo: local - repo: local
hooks: hooks:

Some files were not shown because too many files have changed in this diff Show More