Skip to content

Commit da47d5c

Browse files
Enable ruff N999 rule (TheAlgorithms#11331)
* Enable ruff N999 rule * updating DIRECTORY.md --------- Co-authored-by: MaximSmolskiy <[email protected]>
1 parent 516a302 commit da47d5c

5 files changed

+3
-4
lines changed

DIRECTORY.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@
351351
* [Longest Common Subsequence](dynamic_programming/longest_common_subsequence.py)
352352
* [Longest Common Substring](dynamic_programming/longest_common_substring.py)
353353
* [Longest Increasing Subsequence](dynamic_programming/longest_increasing_subsequence.py)
354-
* [Longest Increasing Subsequence O(Nlogn)](dynamic_programming/longest_increasing_subsequence_o(nlogn).py)
354+
* [Longest Increasing Subsequence O Nlogn](dynamic_programming/longest_increasing_subsequence_o_nlogn.py)
355355
* [Longest Palindromic Subsequence](dynamic_programming/longest_palindromic_subsequence.py)
356356
* [Matrix Chain Multiplication](dynamic_programming/matrix_chain_multiplication.py)
357357
* [Matrix Chain Order](dynamic_programming/matrix_chain_order.py)
@@ -465,7 +465,7 @@
465465
* [Dijkstra Alternate](graphs/dijkstra_alternate.py)
466466
* [Dijkstra Binary Grid](graphs/dijkstra_binary_grid.py)
467467
* [Dinic](graphs/dinic.py)
468-
* [Directed And Undirected (Weighted) Graph](graphs/directed_and_undirected_(weighted)_graph.py)
468+
* [Directed And Undirected Weighted Graph](graphs/directed_and_undirected_weighted_graph.py)
469469
* [Edmonds Karp Multiple Source And Sink](graphs/edmonds_karp_multiple_source_and_sink.py)
470470
* [Eulerian Path And Circuit For Undirected Graph](graphs/eulerian_path_and_circuit_for_undirected_graph.py)
471471
* [Even Tree](graphs/even_tree.py)
@@ -792,7 +792,6 @@
792792
* [Minimum Cut](networking_flow/minimum_cut.py)
793793

794794
## Neural Network
795-
* [2 Hidden Layers Neural Network](neural_network/2_hidden_layers_neural_network.py)
796795
* Activation Functions
797796
* [Binary Step](neural_network/activation_functions/binary_step.py)
798797
* [Exponential Linear Unit](neural_network/activation_functions/exponential_linear_unit.py)
@@ -809,6 +808,7 @@
809808
* [Convolution Neural Network](neural_network/convolution_neural_network.py)
810809
* [Input Data](neural_network/input_data.py)
811810
* [Simple Neural Network](neural_network/simple_neural_network.py)
811+
* [Two Hidden Layers Neural Network](neural_network/two_hidden_layers_neural_network.py)
812812

813813
## Other
814814
* [Activity Selection](other/activity_selection.py)

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ lint.ignore = [ # `ruff rule S101` for a description of that rule
88
"G004", # Logging statement uses f-string
99
"ICN001", # `matplotlib.pyplot` should be imported as `plt` -- FIX ME
1010
"INP001", # File `x/y/z.py` is part of an implicit namespace package. Add an `__init__.py`. -- FIX ME
11-
"N999", # Invalid module name -- FIX ME
1211
"NPY002", # Replace legacy `np.random.choice` call with `np.random.Generator` -- FIX ME
1312
"PGH003", # Use specific rule codes when ignoring type issues -- FIX ME
1413
"PLC1901", # `{}` can be simplified to `{}` as an empty string is falsey

0 commit comments

Comments
 (0)