Skip to content

Commit a34abfd

Browse files
pre-commit-ci[bot]github-actionscclauss
authored andcommitted
[pre-commit.ci] pre-commit autoupdate (#8177)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.254 → v0.0.255](astral-sh/ruff-pre-commit@v0.0.254...v0.0.255) - [github.com/pre-commit/mirrors-mypy: v1.0.1 → v1.1.1](pre-commit/mirrors-mypy@v1.0.1...v1.1.1) - [github.com/codespell-project/codespell: v2.2.2 → v2.2.4](codespell-project/codespell@v2.2.2...v2.2.4) * updating DIRECTORY.md * Fixes for new version of codespell --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: Christian Clauss <[email protected]>
1 parent 28731e9 commit a34abfd

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

Diff for: .pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ repos:
4444
- --py311-plus
4545

4646
- repo: https://github.com/charliermarsh/ruff-pre-commit
47-
rev: v0.0.254
47+
rev: v0.0.255
4848
hooks:
4949
- id: ruff
5050
args:
@@ -69,7 +69,7 @@ repos:
6969
*flake8-plugins
7070

7171
- repo: https://github.com/pre-commit/mirrors-mypy
72-
rev: v1.0.1
72+
rev: v1.1.1
7373
hooks:
7474
- id: mypy
7575
args:
@@ -79,11 +79,11 @@ repos:
7979
additional_dependencies: [types-requests]
8080

8181
- repo: https://github.com/codespell-project/codespell
82-
rev: v2.2.2
82+
rev: v2.2.4
8383
hooks:
8484
- id: codespell
8585
args:
86-
- --ignore-words-list=ans,crate,damon,fo,followings,hist,iff,mater,secant,som,sur,tim,zar
86+
- --ignore-words-list=3rt,ans,crate,damon,fo,followings,hist,iff,kwanza,mater,secant,som,sur,tim,zar
8787
exclude: |
8888
(?x)^(
8989
ciphers/prehistoric_men.txt |

Diff for: DIRECTORY.md

+1
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@
336336
## Electronics
337337
* [Builtin Voltage](electronics/builtin_voltage.py)
338338
* [Carrier Concentration](electronics/carrier_concentration.py)
339+
* [Circular Convolution](electronics/circular_convolution.py)
339340
* [Coulombs Law](electronics/coulombs_law.py)
340341
* [Electric Conductivity](electronics/electric_conductivity.py)
341342
* [Electric Power](electronics/electric_power.py)

Diff for: machine_learning/sequential_minimum_optimization.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ def plot_partition_boundary(
569569
"""
570570
We can not get the optimum w of our kernel svm model which is different from linear
571571
svm. For this reason, we generate randomly distributed points with high desity and
572-
prediced values of these points are calculated by using our tained model. Then we
572+
prediced values of these points are calculated by using our trained model. Then we
573573
could use this prediced values to draw contour map.
574574
And this contour map can represent svm's partition boundary.
575575
"""

Diff for: physics/lorentz_transformation_four_vector.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Lorentz transformations describe the transition between two inertial reference
33
frames F and F', each of which is moving in some direction with respect to the
44
other. This code only calculates Lorentz transformations for movement in the x
5-
direction with no spacial rotation (i.e., a Lorentz boost in the x direction).
5+
direction with no spatial rotation (i.e., a Lorentz boost in the x direction).
66
The Lorentz transformations are calculated here as linear transformations of
77
four-vectors [ct, x, y, z] described by Minkowski space. Note that t (time) is
88
multiplied by c (the speed of light) in the first entry of each four-vector.

0 commit comments

Comments
 (0)