Permalink
Browse files
Tighten up psf/black and flake8 (#2024)
* Tighten up psf/black and flake8
* Fix some tests
* Fix some E741
* Fix some E741
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>- Loading branch information
Showing
with
587 additions
and 499 deletions.
- +5 β5 .travis.yml
- +3 β0 DIRECTORY.md
- +1 β0 arithmetic_analysis/newton_forward_interpolation.py
- +6 β6 backtracking/coloring.py
- +15 β15 backtracking/hamiltonian_cycle.py
- +2 β2 backtracking/minimax.py
- +8 β8 backtracking/n_queens.py
- +18 β8 ciphers/decrypt_caesar_with_chi_squared.py
- +3 β1 ciphers/elgamal_key_generator.py
- +4 β4 ciphers/mixed_keyword_cypher.py
- +2 β1 ciphers/simple_substitution_cipher.py
- +4 β1 ciphers/transposition_cipher_encrypt_decrypt_file.py
- +1 β1 conversions/decimal_to_octal.py
- +9 β9 data_structures/binary_tree/avl_tree.py
- +6 β1 data_structures/binary_tree/basic_binary_tree.py
- +19 β14 data_structures/binary_tree/lazy_segment_tree.py
- +9 β6 data_structures/binary_tree/non_recursive_segment_tree.py
- +12 β10 data_structures/binary_tree/segment_tree.py
- +4 β1 data_structures/binary_tree/treap.py
- +1 β1 data_structures/hashing/quadratic_probing.py
- +2 β0 data_structures/heap/binomial_heap.py
- +2 β2 data_structures/heap/min_heap.py
- +4 β4 data_structures/linked_list/deque_doubly.py
- +1 β1 data_structures/linked_list/middle_element_of_linked_list.py
- +9 β11 data_structures/stacks/postfix_evaluation.py
- +1 β1 data_structures/trie/trie.py
- +3 β3 digital_image_processing/dithering/burkes.py
- +2 β2 digital_image_processing/edge_detection/canny.py
- +40 β32 digital_image_processing/index_calculation.py
- +14 β14 divide_and_conquer/max_subarray_sum.py
- +1 β1 divide_and_conquer/mergesort.py
- +3 β3 dynamic_programming/factorial.py
- +2 β2 dynamic_programming/iterating_through_submasks.py
- +1 β1 dynamic_programming/longest_common_subsequence.py
- +11 β6 dynamic_programming/longest_increasing_subsequence.py
- +6 β5 dynamic_programming/longest_increasing_subsequence_o(nlogn).py
- +3 β3 dynamic_programming/max_sub_array.py
- +1 β1 dynamic_programming/minimum_partition.py
- +7 β6 dynamic_programming/optimal_binary_search_tree.py
- +10 β7 dynamic_programming/subset_generation.py
- +2 β2 geodesy/lamberts_ellipsoidal_distance.py
- +4 β4 graphs/articulation_points.py
- +6 β5 graphs/basic_graphs.py
- +1 β1 graphs/bellman_ford.py
- +6 β5 graphs/breadth_first_search_shortest_path.py
- +10 β9 graphs/check_bipartite_graph_bfs.py
- +10 β9 graphs/check_bipartite_graph_dfs.py
- +4 β4 graphs/depth_first_search.py
- +2 β2 graphs/depth_first_search_2.py
- +2 β3 graphs/dijkstra.py
- +1 β1 graphs/dinic.py
- +24 β24 graphs/directed_and_undirected_(weighted)_graph.py
- +1 β1 graphs/eulerian_path_and_circuit_for_undirected_graph.py
- +5 β5 graphs/finding_bridges.py
- +1 β1 graphs/frequent_pattern_graph_miner.py
- +7 β7 graphs/kahns_algorithm_long.py
- +11 β8 graphs/kahns_algorithm_topo.py
- +2 β2 graphs/minimum_spanning_tree_prims.py
- +20 β21 hashes/chaos_machine.py
- +1 β0 hashes/hamming_code.py
- +9 β9 linear_algebra/src/lib.py
- +1 β1 linear_algebra/src/test_linear_algebra.py
- +16 β11 machine_learning/k_means_clust.py
- +3 β2 machine_learning/linear_discriminant_analysis.py
- +7 β7 machine_learning/polymonial_regression.py
- +1 β0 machine_learning/scoring_functions.py
- +1 β1 maths/aliquot_sum.py
- +2 β2 maths/allocation_number.py
- +5 β5 maths/bailey_borwein_plouffe.py
- +3 β2 maths/collatz_sequence.py
- +1 β1 maths/find_max_recursion.py
- +6 β6 maths/gamma.py
- +2 β2 maths/gaussian.py
- +2 β2 maths/is_square_free.py
- +4 β4 maths/kth_lexicographic_permutation.py
- +5 β5 maths/lucas_lehmer_primality_test.py
- +1 β1 maths/matrix_exponentiation.py
- +1 β1 maths/modular_exponential.py
- +5 β5 maths/monte_carlo.py
- +2 β2 maths/newton_raphson.py
- +1 β1 maths/prime_factors.py
- +4 β2 maths/prime_sieve_eratosthenes.py
- +2 β2 maths/radians.py
- +15 β15 maths/radix2_fft.py
- +2 β2 maths/sieve_of_eratosthenes.py
- +2 β2 maths/square_root.py
- +6 β6 matrix/sherman_morrison.py
- +1 β1 networking_flow/ford_fulkerson.py
- +1 β1 networking_flow/minimum_cut.py
- +6 β4 other/activity_selection.py
- +4 β1 other/anagrams.py
- +3 β2 other/detecting_english_programmatically.py
- +1 β1 other/dijkstra_bankers_algorithm.py
- +5 β3 other/game_of_life.py
- +4 β4 other/integeration_by_simpson_approx.py
- +1 β0 other/magicdiamondpattern.py
- +2 β2 other/sdes.py
- +1 β1 project_euler/problem_02/sol4.py
- +1 β1 project_euler/problem_03/sol1.py
- +1 β1 project_euler/problem_03/sol2.py
- +1 β1 project_euler/problem_05/sol1.py
- +1 β1 project_euler/problem_07/sol2.py
- +1 β1 project_euler/problem_08/sol1.py
- +1 β1 project_euler/problem_08/sol2.py
- +1 β1 project_euler/problem_08/sol3.py
- +1 β1 project_euler/problem_11/sol2.py
- +1 β1 project_euler/problem_16/sol2.py
- +1 β1 project_euler/problem_234/sol1.py
- +1 β1 project_euler/problem_30/soln.py
- +1 β1 project_euler/problem_31/sol2.py
- +1 β1 project_euler/problem_551/sol1.py
- +1 β1 scheduling/first_come_first_served.py
- +3 β1 searches/simulated_annealing.py
- +1 β0 searches/ternary_search.py
- +2 β1 sorts/bitonic_sort.py
- +2 β2 sorts/pigeon_sort.py
- +1 β1 sorts/recursive_bubble_sort.py
- +12 β12 strings/boyer_moore_search.py
- +4 β4 strings/lower.py
- +23 β19 strings/manacher.py
- +1 β4 strings/reverse_words.py
- +4 β4 strings/split.py
- +4 β4 strings/upper.py
- +3 β1 traversals/binary_tree_traversals.py
Oops, something went wrong.