Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,21 @@ repos:
hooks:
- id: auto-walrus

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.12.7
hooks:
- id: uv-lock

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.1
hooks:
- id: ruff-check
- id: ruff-format

- repo: https://github.com/codespell-project/codespell
rev: v2.4.3
hooks:
- id: codespell
additional_dependencies:
- tomli

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.5
hooks:
- id: ruff-check
- id: ruff-format

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.26.0
rev: v2.28.1
hooks:
- id: pyproject-fmt

Expand All @@ -49,8 +44,13 @@ repos:
language: script
pass_filenames: false

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.12.7
hooks:
- id: uv-lock

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.25
rev: "0.26"
hooks:
- id: validate-pyproject

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ We want your work to be readable by others; therefore, we encourage you to note
The following are considered to be bad and may be requested to be improved:

```python
x = x + 2 # increased by 2
x = x + 2 # increased by 2
```

This is too trivial. Comments are expected to be explanatory. For comments, you can write them above, on or below a line of code, as long as you are consistent within the same piece of code.
Expand Down Expand Up @@ -148,7 +148,7 @@ We want your work to be readable by others; therefore, we encourage you to note
The use of the Python built-in `input()` function is __not__ encouraged:

```python
input('Enter your input:')
input("Enter your input:")
# Or even worse...
input = eval(input("Enter your input: "))
```
Expand Down
5 changes: 5 additions & 0 deletions DIRECTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

## Audio Filters
* [Butterworth Filter](audio_filters/butterworth_filter.py)
* [Equal Loudness Filter](audio_filters/equal_loudness_filter.py)
* [Iir Filter](audio_filters/iir_filter.py)
* [Show Response](audio_filters/show_response.py)

Expand Down Expand Up @@ -451,9 +452,11 @@
* [Time And Half Pay](financial/time_and_half_pay.py)

## Fractals
* [Barnsley Fern](fractals/barnsley_fern.py)
* [Julia Sets](fractals/julia_sets.py)
* [Koch Snowflake](fractals/koch_snowflake.py)
* [Mandelbrot](fractals/mandelbrot.py)
* [Sierpinski Carpet](fractals/sierpinski_carpet.py)
* [Sierpinski Triangle](fractals/sierpinski_triangle.py)
* [Vicsek](fractals/vicsek.py)

Expand Down Expand Up @@ -843,8 +846,10 @@
* [Validate Sudoku Board](matrix/validate_sudoku_board.py)

## Networking Flow
* [Dinic](networking_flow/dinic.py)
* [Ford Fulkerson](networking_flow/ford_fulkerson.py)
* [Minimum Cut](networking_flow/minimum_cut.py)
* [Push Relabel](networking_flow/push_relabel.py)

## Neural Network
* Activation Functions
Expand Down
Loading