Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 68e6d5a

Browse files
cclaussgithub-actions
and
github-actions
authored
validate_solutions.py: os.getenv('GITHUB_TOKEN', '') (TheAlgorithms#10546)
* validate_solutions.py: os.getenv('GITHUB_TOKEN', '') @tianyizheng02 * updating DIRECTORY.md * f this --------- Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parent b2636d9 commit 68e6d5a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎DIRECTORY.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@
373373
* [Electric Conductivity](electronics/electric_conductivity.py)
374374
* [Electric Power](electronics/electric_power.py)
375375
* [Electrical Impedance](electronics/electrical_impedance.py)
376+
* [Ic 555 Timer](electronics/ic_555_timer.py)
376377
* [Ind Reactance](electronics/ind_reactance.py)
377378
* [Ohms Law](electronics/ohms_law.py)
378379
* [Real And Reactive Power](electronics/real_and_reactive_power.py)
@@ -622,6 +623,7 @@
622623
* [Is Ip V4 Address Valid](maths/is_ip_v4_address_valid.py)
623624
* [Is Square Free](maths/is_square_free.py)
624625
* [Jaccard Similarity](maths/jaccard_similarity.py)
626+
* [Joint Probability Distribution](maths/joint_probability_distribution.py)
625627
* [Juggler Sequence](maths/juggler_sequence.py)
626628
* [Karatsuba](maths/karatsuba.py)
627629
* [Krishnamurthy Number](maths/krishnamurthy_number.py)
@@ -675,8 +677,8 @@
675677
* [Radians](maths/radians.py)
676678
* [Radix2 Fft](maths/radix2_fft.py)
677679
* [Remove Digit](maths/remove_digit.py)
678-
* [Rkf45](maths/rkf45.py)
679680
* [Runge Kutta](maths/runge_kutta.py)
681+
* [Runge Kutta Fehlberg 45](maths/runge_kutta_fehlberg_45.py)
680682
* [Segmented Sieve](maths/segmented_sieve.py)
681683
* Series
682684
* [Arithmetic](maths/series/arithmetic.py)

‎scripts/validate_solutions.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def added_solution_file_path() -> list[pathlib.Path]:
5555
solution_file_paths = []
5656
headers = {
5757
"Accept": "application/vnd.github.v3+json",
58-
"Authorization": "token "+os.environ["GITHUB_TOKEN"],
58+
"Authorization": f"token {os.getenv('GITHUB_TOKEN', '')}",
5959
}
6060
files = requests.get(get_files_url(), headers=headers).json()
6161
for file in files:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /