Skip to content

Commit

Permalink
Bump codespell from v2.3.0 to v2.4.0 (#2136)
Browse files Browse the repository at this point in the history
Bump codespell from v2.3.0 to v2.4.0
  • Loading branch information
brutusthebee authored Jan 27, 2025
1 parent 96d06ba commit 5c73b8d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
hooks:
- id: flake8
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.0
hooks:
- id: codespell
# remove toml extra once Python 3.10 is no longer supported
Expand Down
1 change: 1 addition & 0 deletions changes/2136.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The ``pre-commit`` hook for ``codespell`` was updated to its latest version.
2 changes: 1 addition & 1 deletion src/briefcase/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def make_class_name(formal_name):
"Mn", # nonspacing marks
"Mc", # spacing combining marks
"Nd", # decimal number
"Pc", # connector punctuations
"Pc", # connector punctuation
}
)

Expand Down
2 changes: 1 addition & 1 deletion src/briefcase/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def add_log_file_extra(self, func: Callable[[], object]):
"""Register a function to be called in the event that a log file is written.
This can be used to provide additional debugging information which is too
expensive to gather pre-emptively.
expensive to gather preemptively.
"""
self.log_file_extras.append(func)

Expand Down
2 changes: 1 addition & 1 deletion src/briefcase/integrations/subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def is_process_dead(pid: int) -> bool:
"""Returns True if a PID is not assigned to a process.
Checking if a PID exists is only a semi-safe proxy to determine if a process is dead
since PIDs can be re-used. Therefore, this function should only be used via constant
since PIDs can be reused. Therefore, this function should only be used via constant
monitoring of a PID to identify when the process goes from existing to not existing.
:param pid: integer value to be checked if assigned as a PID.
Expand Down

0 comments on commit 5c73b8d

Please sign in to comment.