Skip to content

Commit e056742

Browse files
even-evenvyuroshchin
andauthored
fix typos warnings (#425)
* fix typos warnings * fix typos warnings --------- Co-authored-by: vyuroshchin <[email protected]>
1 parent e33f6f7 commit e056742

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Codebases using Poetry
4141
.. code-block:: console
4242
4343
poetry add --group dev --editable <path_to_mutmut_codebase>
44-
# Install dependecies in your Poetry environment
44+
# Install dependencies in your Poetry environment
4545
pip install -r <path_to_mutmut_codebase>/requirements.txt
4646
4747
Documentation about mutmut's architecture

HISTORY.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Changelog
143143
3.0.0
144144
~~~~~
145145

146-
* Execution model switched to mutation schemata, which enabled parallell execution.
146+
* Execution model switched to mutation schemata, which enabled parallel execution.
147147

148148
* New terminal UI
149149

mutmut/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ def stop_all_children(mutants):
925925
START_TIMES_BY_PID_LOCK = Lock()
926926

927927
def timeout_checker(mutants):
928-
def inner_timout_checker():
928+
def inner_timeout_checker():
929929
while True:
930930
sleep(1)
931931

@@ -941,7 +941,7 @@ def inner_timout_checker():
941941
os.kill(pid, signal.SIGXCPU)
942942
except ProcessLookupError:
943943
pass
944-
return inner_timout_checker
944+
return inner_timeout_checker
945945

946946

947947
@cli.command()

mutmut/file_mutation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def pragma_no_mutate_lines(source: str) -> set[int]:
274274
}
275275

276276
def deep_replace(tree: cst.CSTNode, old_node: cst.CSTNode, new_node: cst.CSTNode) -> cst.CSTNode:
277-
"""Like the CSTNode.deep_replace method, except that we only replace up to one occurence of old_node."""
277+
"""Like the CSTNode.deep_replace method, except that we only replace up to one occurrence of old_node."""
278278
return tree.visit(ChildReplacementTransformer(old_node, new_node)) # type: ignore
279279

280280
class ChildReplacementTransformer(cst.CSTTransformer):

tests/test_mutation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def mutated_module(source: str) -> str:
118118
'lambda **kwargs: Variable.integer(**setdefaults(kwargs, None))',
119119
'lambda **kwargs: Variable.integer(**setdefaults(kwargs, ))',
120120
'lambda **kwargs: Variable.integer(**setdefaults(dict(show=False)))',
121-
# TODO: this mutant would exist if we also mutate single-arg arglists (see implentation)
121+
# TODO: this mutant would exist if we also mutate single-arg arglists (see implementation)
122122
# 'lambda **kwargs: Variable.integer()',
123123
'lambda **kwargs: None',
124124
]),

0 commit comments

Comments
 (0)