mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
Revert "validate_solutions.py: os.getenv('GITHUB_TOKEN', '')" (#10552)
* Revert "validate_solutions.py: os.getenv('GITHUB_TOKEN', '') (#10546)"
This reverts commit 68e6d5ad7e
.
* updating DIRECTORY.md
---------
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
parent
89d12dfe99
commit
4004b862d5
|
@ -265,6 +265,7 @@
|
|||
* [Postfix Evaluation](data_structures/stacks/postfix_evaluation.py)
|
||||
* [Prefix Evaluation](data_structures/stacks/prefix_evaluation.py)
|
||||
* [Stack](data_structures/stacks/stack.py)
|
||||
* [Stack Using Two Queues](data_structures/stacks/stack_using_two_queues.py)
|
||||
* [Stack With Doubly Linked List](data_structures/stacks/stack_with_doubly_linked_list.py)
|
||||
* [Stack With Singly Linked List](data_structures/stacks/stack_with_singly_linked_list.py)
|
||||
* [Stock Span Problem](data_structures/stacks/stock_span_problem.py)
|
||||
|
@ -361,6 +362,7 @@
|
|||
* [Trapped Water](dynamic_programming/trapped_water.py)
|
||||
* [Tribonacci](dynamic_programming/tribonacci.py)
|
||||
* [Viterbi](dynamic_programming/viterbi.py)
|
||||
* [Wildcard Matching](dynamic_programming/wildcard_matching.py)
|
||||
* [Word Break](dynamic_programming/word_break.py)
|
||||
|
||||
## Electronics
|
||||
|
@ -791,7 +793,7 @@
|
|||
|
||||
## Physics
|
||||
* [Altitude Pressure](physics/altitude_pressure.py)
|
||||
* [Archimedes Principle](physics/archimedes_principle.py)
|
||||
* [Archimedes Principle Of Buoyant Force](physics/archimedes_principle_of_buoyant_force.py)
|
||||
* [Basic Orbital Capture](physics/basic_orbital_capture.py)
|
||||
* [Casimir Effect](physics/casimir_effect.py)
|
||||
* [Centripetal Force](physics/centripetal_force.py)
|
||||
|
|
|
@ -55,7 +55,7 @@ def added_solution_file_path() -> list[pathlib.Path]:
|
|||
solution_file_paths = []
|
||||
headers = {
|
||||
"Accept": "application/vnd.github.v3+json",
|
||||
"Authorization": f"token {os.getenv('GITHUB_TOKEN', '')}",
|
||||
"Authorization": "token " + os.environ["GITHUB_TOKEN"],
|
||||
}
|
||||
files = requests.get(get_files_url(), headers=headers).json()
|
||||
for file in files:
|
||||
|
|
Loading…
Reference in New Issue
Block a user