GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — actions/setup-python@v2 (#1986) · D4VA/Python@565060a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • autoblack.yml
    • codespell.yml
    • directory_writer.yml
  • DIRECTORY.md
  • maths
    • prime_numbers.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/autoblack.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/autoblack.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v1 # Use v1, NOT v2
13-
- uses: actions/setup-python@v1
13+
- uses: actions/setup-python@v2
1414
- run: pip install black
1515
- run: black --check .
1616
- name: If needed, commit black changes to a new pull request
Collapse file

‎.github/workflows/codespell.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/codespell.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10-
- uses: actions/setup-python@v1
10+
- uses: actions/setup-python@v2
1111
- run: pip install codespell flake8
1212
- run: |
1313
SKIP="./.*,./other/dictionary.txt,./other/words,./project_euler/problem_22/p022_names.txt"
Collapse file

‎.github/workflows/directory_writer.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/directory_writer.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v1 # v1, NOT v2
10-
- uses: actions/setup-python@v1
10+
- uses: actions/setup-python@v2
1111
with:
1212
python-version: 3.x
1313
- name: Write DIRECTORY.md
@@ -20,4 +20,4 @@ jobs:
2020
run: |
2121
git add DIRECTORY.md
2222
git commit -am "updating DIRECTORY.md" || true
23-
git push --force origin HEAD:$GITHUB_REF || true
23+
git push --force origin HEAD:$GITHUB_REF || true
Collapse file

‎DIRECTORY.md‎

Copy file name to clipboardExpand all lines: DIRECTORY.md
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@
293293
* [Abs Max](https://github.com/TheAlgorithms/Python/blob/master/maths/abs_max.py)
294294
* [Abs Min](https://github.com/TheAlgorithms/Python/blob/master/maths/abs_min.py)
295295
* [Add](https://github.com/TheAlgorithms/Python/blob/master/maths/add.py)
296+
* [Aliquot Sum](https://github.com/TheAlgorithms/Python/blob/master/maths/aliquot_sum.py)
296297
* [Allocation Number](https://github.com/TheAlgorithms/Python/blob/master/maths/allocation_number.py)
297298
* [Area Under Curve](https://github.com/TheAlgorithms/Python/blob/master/maths/area_under_curve.py)
298299
* [Armstrong Numbers](https://github.com/TheAlgorithms/Python/blob/master/maths/armstrong_numbers.py)
Collapse file

‎maths/prime_numbers.py‎

Copy file name to clipboardExpand all lines: maths/prime_numbers.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,6 @@ def primes(max: int) -> Generator[int, None, None]:
6565

6666
# Let's benchmark them side-by-side...
6767
from timeit import timeit
68+
6869
print(timeit("slow_primes(1_000_000)", setup="from __main__ import slow_primes"))
6970
print(timeit("primes(1_000_000)", setup="from __main__ import primes"))

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.