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

Allow package as an imperative verb in D401 #356

Merged
merged 2 commits into from
Aug 31, 2020

Conversation

gibfahn
Copy link
Contributor

@gibfahn gibfahn commented Apr 17, 2019

If a docstring starts with "Package" it's probably something like:

"""Package the files into a tarball."""

So don't flag it in D401.


  • Add unit tests and integration tests where applicable.
    If you've added an error code or changed an error code behavior,
    you should probably add or change a test case file under tests/test_cases/ and add
    it to the list under tests/test_definitions.py.
    If you've added or changed a command line option,
    you should probably add or change a test in tests/test_integration.py.
  • Add a line to the release notes (docs/release_notes.rst) under "Current Development Version".
    Make sure to include the PR number after you open and get one.

If a docstring starts with "Package" it's probably something like:

```python
"""Package the files into a tarball."""
```

So don't flag it in D401.
@gibfahn gibfahn force-pushed the allow_package_as_an_imperative_verb branch from 3382506 to 2a241e2 Compare April 17, 2019 19:48
@gibfahn
Copy link
Contributor Author

gibfahn commented Apr 17, 2019

This didn't seem test-worthy, let me know if it needs one.

@samj1912
Copy link
Member

@gibfahn can you please rebase this on master?

@samj1912 samj1912 self-requested a review August 31, 2020 10:54
@samj1912 samj1912 merged commit d8f0931 into PyCQA:master Aug 31, 2020
@gibfahn gibfahn deleted the allow_package_as_an_imperative_verb branch September 2, 2020 12:28
@gibfahn
Copy link
Contributor Author

gibfahn commented Sep 2, 2020

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants