Description
What would you like to share?
I used pull requests #12804 to change this files , but ruff check failed. I look this logs,This test looks like scanning the entire repository of files.find 10 errors but do not look I changed files.
Additional information
Error list:
2025-06-22T01:19:49.9840514Z ##[error]ciphers/atbash.py:43:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9848900Z ##[error]ciphers/hill_cipher.py:82:32: RUF057 Value being rounded is already an integer
2025-06-22T01:19:49.9850855Z ##[error]ciphers/shuffled_shift_cipher.py:172:32: PT028 Test function parameter msg
has default argument
2025-06-22T01:19:49.9852516Z ##[error]data_structures/binary_tree/avl_tree.py:333:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9854562Z ##[error]data_structures/binary_tree/binary_search_tree.py:118:9: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9856377Z ##[error]data_structures/binary_tree/diff_views_of_binary_tree.py:176:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9858373Z ##[error]data_structures/binary_tree/non_recursive_segment_tree.py:47:19: UP046 Generic class SegmentTree
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9860160Z ##[error]data_structures/binary_tree/red_black_tree.py:6:7: PLW1641 Object does not implement __hash__
method
2025-06-22T01:19:49.9861812Z ##[error]data_structures/binary_tree/red_black_tree.py:488:9: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9863438Z ##[error]data_structures/binary_tree/treap.py:19:9: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9866024Z ##[error]data_structures/hashing/hash_map.py:20:13: UP046 Generic class _Item
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9868960Z ##[error]data_structures/heap/heap.py:8:7: PLW1641 Object does not implement __hash__
method
2025-06-22T01:19:49.9871071Z ##[error]data_structures/heap/heap.py:25:12: UP046 Generic class Heap
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9873016Z ##[error]data_structures/heap/randomized_heap.py:12:26: UP046 Generic class RandomizedHeapNode
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9875258Z ##[error]data_structures/heap/randomized_heap.py:76:22: UP046 Generic class RandomizedHeap
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9877195Z ##[error]data_structures/heap/skew_heap.py:11:16: UP046 Generic class SkewNode
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9879002Z ##[error]data_structures/heap/skew_heap.py:90:16: UP046 Generic class SkewHeap
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9880766Z ##[error]data_structures/linked_list/singly_linked_list.py:495:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9882563Z ##[error]data_structures/linked_list/skip_list.py:16:12: UP046 Generic class Node
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9884693Z ##[error]data_structures/linked_list/skip_list.py:52:16: UP046 Generic class SkipList
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9886532Z ##[error]data_structures/queues/double_ended_queue.py:12:7: PLW1641 Object does not implement __hash__
method
2025-06-22T01:19:49.9888350Z ##[error]data_structures/queues/queue_by_list.py:9:19: UP046 Generic class QueueByList
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9890306Z ##[error]data_structures/queues/queue_by_two_stacks.py:9:24: UP046 Generic class QueueByTwoStacks
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9892161Z ##[error]data_structures/stacks/stack.py:16:13: UP046 Generic class Stack
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9894997Z ##[error]data_structures/stacks/stack_with_doubly_linked_list.py:11:12: UP046 Generic class Node
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9897221Z ##[error]data_structures/stacks/stack_with_doubly_linked_list.py:18:13: UP046 Generic class Stack
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9899247Z ##[error]data_structures/stacks/stack_with_singly_linked_list.py:11:12: UP046 Generic class Node
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9901280Z ##[error]data_structures/stacks/stack_with_singly_linked_list.py:20:19: UP046 Generic class LinkedStack
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9903216Z ##[error]digital_image_processing/test_digital_image_processing.py:86:34: PT028 Test function parameter file_path
has default argument
2025-06-22T01:19:49.9905326Z ##[error]digital_image_processing/test_digital_image_processing.py:93:22: PT028 Test function parameter file_path
has default argument
2025-06-22T01:19:49.9907209Z ##[error]digital_image_processing/test_digital_image_processing.py:105:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9908960Z ##[error]dynamic_programming/matrix_chain_multiplication.py:133:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9910522Z ##[error]file_transfer/send_file.py:2:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9912007Z ##[error]graphics/bezier_curve.py:81:9: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9913761Z ##[error]graphs/graph_adjacency_list.py:31:26: UP046 Generic class GraphAdjacencyList
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9916002Z ##[error]graphs/graph_adjacency_matrix.py:31:28: UP046 Generic class GraphAdjacencyMatrix
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9917894Z ##[error]graphs/graph_list.py:14:26: UP046 Generic class GraphAdjacencyList
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9919459Z ##[error]graphs/greedy_best_first.py:40:7: PLW1641 Object does not implement __hash__
method
2025-06-22T01:19:49.9920978Z ##[error]graphs/lanczos_eigenvectors.py:200:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9922803Z ##[error]graphs/minimum_spanning_tree_kruskal2.py:8:27: UP046 Generic class DisjointSetTreeNode
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9925110Z ##[error]graphs/minimum_spanning_tree_kruskal2.py:16:23: UP046 Generic class DisjointSetTree
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9927233Z ##[error]graphs/minimum_spanning_tree_kruskal2.py:49:31: UP046 Generic class GraphUndirectedWeighted
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9929231Z ##[error]graphs/minimum_spanning_tree_prims2.py:50:24: UP046 Generic class MinPriorityQueue
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9931238Z ##[error]graphs/minimum_spanning_tree_prims2.py:187:31: UP046 Generic class GraphUndirectedWeighted
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9933055Z ##[error]graphs/minimum_spanning_tree_prims2.py:220:5: UP047 Generic function prims_algo
should use type parameters
2025-06-22T01:19:49.9934733Z ##[error]hashes/sha256.py:203:9: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9936160Z ##[error]hashes/sha256.py:217:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9937574Z ##[error]linear_algebra/src/lib.py:30:7: PLW1641 Object does not implement __hash__
method
2025-06-22T01:19:49.9938994Z ##[error]machine_learning/astar.py:19:7: PLW1641 Object does not implement __hash__
method
2025-06-22T01:19:49.9940567Z ##[error]machine_learning/automatic_differentiation.py:131:7: PLW1641 Object does not implement __hash__
method
2025-06-22T01:19:49.9942816Z ##[error]machine_learning/local_weighted_learning/local_weighted_learning.py:137:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9944684Z ##[error]machine_learning/mfcc.py:467:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9946326Z ##[error]machine_learning/polynomial_regression.py:190:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9948043Z ##[error]machine_learning/sequential_minimum_optimization.py:439:9: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9949574Z ##[error]maths/average_median.py:35:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9950974Z ##[error]maths/entropy.py:112:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9952416Z ##[error]maths/euclidean_distance.py:46:9: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9953864Z ##[error]maths/number_of_digits.py:96:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9955616Z ##[error]maths/pi_generator.py:81:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9957264Z ##[error]maths/polynomials/single_indeterminate_operations.py:15:7: PLW1641 Object does not implement __hash__
method
2025-06-22T01:19:49.9958795Z ##[error]maths/prime_numbers.py:97:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9960189Z ##[error]maths/sum_of_digits.py:56:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9961572Z ##[error]maths/sum_of_digits.py:57:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9963140Z ##[error]matrix/count_negative_numbers_in_sorted_matrix.py:131:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9964828Z ##[error]matrix/matrix_class.py:6:7: PLW1641 Object does not implement __hash__
method
2025-06-22T01:19:49.9966360Z ##[error]matrix/matrix_class.py:263:25: RUF005 Consider iterable unpacking instead of concatenation
2025-06-22T01:19:49.9967940Z ##[error]matrix/matrix_class.py:282:17: RUF005 Consider iterable unpacking instead of concatenation
2025-06-22T01:19:49.9969421Z ##[error]matrix/pascal_triangle.py:170:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9970888Z ##[error]matrix/pascal_triangle.py:171:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9972356Z ##[error]matrix/sherman_morrison.py:263:9: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9974016Z ##[error]other/least_recently_used.py:10:16: UP046 Generic class LRUCache
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9975996Z ##[error]other/lfu_cache.py:10:28: UP046 Generic class DoubleLinkedListNode
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9977756Z ##[error]other/lfu_cache.py:33:24: UP046 Generic class DoubleLinkedList
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9979453Z ##[error]other/lfu_cache.py:164:16: UP046 Generic class LFUCache
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9981194Z ##[error]other/lru_cache.py:10:28: UP046 Generic class DoubleLinkedListNode
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9982965Z ##[error]other/lru_cache.py:31:24: UP046 Generic class DoubleLinkedList
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9984839Z ##[error]other/lru_cache.py:146:16: UP046 Generic class LRUCache
uses Generic
subclass instead of type parameters
2025-06-22T01:19:49.9986504Z ##[error]project_euler/problem_009/sol1.py:66:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9988087Z ##[error]project_euler/problem_145/sol1.py:140:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9989668Z ##[error]project_euler/problem_187/sol1.py:151:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9991594Z ##[error]searches/hill_climbing.py:152:9: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9993171Z ##[error]searches/simulated_annealing.py:88:9: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:49.9995060Z ##[error]sorts/insertion_sort.py:27:5: UP047 Generic function insertion_sort
should use type parameters
2025-06-22T01:19:49.9996670Z ##[error]sorts/patience_sort.py:23:7: PLW1641 Object does not implement __hash__
method
2025-06-22T01:19:49.9998150Z ##[error]sorts/tim_sort.py:22:15: RUF005 Consider iterable unpacking instead of concatenation
2025-06-22T01:19:49.9999614Z ##[error]strings/is_pangram.py:81:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:50.0001154Z ##[error]strings/levenshtein_distance.py:105:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:50.0002684Z ##[error]strings/top_k_frequent_words.py:23:7: PLW1641 Object does not implement __hash__
method
2025-06-22T01:19:50.0004548Z ##[error]web_programming/instagram_crawler.py:110:41: PT028 Test function parameter username
has default argument
2025-06-22T01:19:50.0006296Z ##[error]web_programming/instagram_crawler.py:115:5: PLC0415 import
should be at the top-level of a file
2025-06-22T01:19:50.0011399Z ##[error]Process completed with exit code 1.