Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit eea4ca1

Browse files
scopNurdok
authored andcommitted
Spelling fixes (#327)
1 parent 7f5303c commit eea4ca1

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Thanks for submitting a PR!
22

33
Please make sure to check for the following items:
44
- [ ] Add unit tests and integration tests where applicable.
5-
If you've added a error code or changed an error code behavior,
5+
If you've added an error code or changed an error code behavior,
66
you should probably add or change a test case file under `tests/test_cases/` and add
77
it to the list under `tests/test_definitions.py`.
88
If you've added or changed a command line option,

docs/snippets/cli.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ Usage
6464

6565
When using any of the ``--select``, ``--ignore``, ``--add-select``, or
6666
``--add-ignore`` command line flags, it is possible to pass a prefix for an
67-
error code. It will be expanded so that any code begining with that prefix
67+
error code. It will be expanded so that any code beginning with that prefix
6868
will match. For example, running the command ``pydocstyle --ignore=D4``
69-
will ignore all docstring content issues as their error codes begining with
69+
will ignore all docstring content issues as their error codes beginning with
7070
"D4" (i.e. D400, D401, D402, D403, and D404).
7171

7272
Return Code

src/pydocstyle/data/imperatives.txt

-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ implement
102102
import
103103
indicate
104104
init
105-
initalise
106105
initialise
107106
initialize
108107
input

src/tests/test_cases/test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def around():
228228
@expect('D210: No whitespaces allowed surrounding docstring text')
229229
@expect('D213: Multi-line docstring summary should start at the second line')
230230
def multiline():
231-
""" Whitespace at the begining.
231+
""" Whitespace at the beginning.
232232
233233
This is the end.
234234
"""

src/tests/test_integration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def install_package(request):
117117

118118
@pytest.yield_fixture(scope="function")
119119
def env(request):
120-
"""Add an testing environment to a test method."""
120+
"""Add a testing environment to a test method."""
121121
with SandboxEnv() as test_env:
122122
yield test_env
123123

0 commit comments

Comments
 (0)