Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cecf43d

Browse files
cclaussgithub-actions
and
github-actions
authoredSep 7, 2021
Pyupgrade to Python 3.9 (TheAlgorithms#4718)
* Pyupgrade to Python 3.9 * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parent 5d5831b commit cecf43d

File tree

142 files changed

+523
-530
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+523
-530
lines changed
 

‎DIRECTORY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@
545545
## Other
546546
* [Activity Selection](https://github.com/TheAlgorithms/Python/blob/master/other/activity_selection.py)
547547
* [Date To Weekday](https://github.com/TheAlgorithms/Python/blob/master/other/date_to_weekday.py)
548-
* [Davis–Putnam–Logemann–Loveland](https://github.com/TheAlgorithms/Python/blob/master/other/davis–putnam–logemann–loveland.py)
548+
* [Davisb Putnamb Logemannb Loveland](https://github.com/TheAlgorithms/Python/blob/master/other/davisb_putnamb_logemannb_loveland.py)
549549
* [Dijkstra Bankers Algorithm](https://github.com/TheAlgorithms/Python/blob/master/other/dijkstra_bankers_algorithm.py)
550550
* [Doomsday](https://github.com/TheAlgorithms/Python/blob/master/other/doomsday.py)
551551
* [Fischer Yates Shuffle](https://github.com/TheAlgorithms/Python/blob/master/other/fischer_yates_shuffle.py)
@@ -860,6 +860,7 @@
860860
* [Counting Sort](https://github.com/TheAlgorithms/Python/blob/master/sorts/counting_sort.py)
861861
* [Cycle Sort](https://github.com/TheAlgorithms/Python/blob/master/sorts/cycle_sort.py)
862862
* [Double Sort](https://github.com/TheAlgorithms/Python/blob/master/sorts/double_sort.py)
863+
* [Dutch National Flag Sort](https://github.com/TheAlgorithms/Python/blob/master/sorts/dutch_national_flag_sort.py)
863864
* [Exchange Sort](https://github.com/TheAlgorithms/Python/blob/master/sorts/exchange_sort.py)
864865
* [External Sort](https://github.com/TheAlgorithms/Python/blob/master/sorts/external_sort.py)
865866
* [Gnome Sort](https://github.com/TheAlgorithms/Python/blob/master/sorts/gnome_sort.py)

‎arithmetic_analysis/in_static_equilibrium.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
"""
22
Checks if a system of forces is in static equilibrium.
33
"""
4-
from typing import List
4+
from __future__ import annotations
55

66
from numpy import array, cos, cross, ndarray, radians, sin
77

88

99
def polar_force(
1010
magnitude: float, angle: float, radian_mode: bool = False
11-
) -> List[float]:
11+
) -> list[float]:
1212
"""
1313
Resolves force along rectangular components.
1414
(force, angle) => (force_x, force_y)

0 commit comments

Comments
 (0)
Please sign in to comment.