Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use absolute import to find proselint.tools #328

Merged
merged 1 commit into from
Mar 8, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion proselint/checks/butterick/symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Use the symbols.

"""
from tools import memoize, existence_check, preferred_forms_check
from proselint.tools import memoize, existence_check, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/carlin/filth.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Filthy words.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/consistency/spacing.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
a period, in the same document.

"""
from tools import consistency_check, memoize
from proselint.tools import consistency_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/consistency/spelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
is preferred, one thing is always wrong: you mustn't use two different
spellings in the same document.
"""
from tools import consistency_check, memoize
from proselint.tools import consistency_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/airlinese.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Airlinese.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/am_pm.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
---

"""
from tools import memoize, existence_check
from proselint.tools import memoize, existence_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/animal_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Animal words.

"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/archaism.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Archaism.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/back_formations.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Back-formations.

"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/bureaucratese.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Bureaucratese.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/capitalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Incorrect capitalization.

"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/cliches.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Cliches are cliché.

"""
from tools import memoize, existence_check
from proselint.tools import memoize, existence_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/commercialese.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Archaism.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/denizen_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Denizen labels.

"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/diacritical_marks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Use of diacritical marks where common.
"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/false_plurals.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Using the incorrect form of the plural.

"""
from tools import memoize, preferred_forms_check, existence_check
from proselint.tools import memoize, preferred_forms_check, existence_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/illogic.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Archaism.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/jargon.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Cliches are cliché.

"""
from tools import memoize, existence_check
from proselint.tools import memoize, existence_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/malapropisms.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Archaism.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/many_a.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
The idiom 'many a' requires a singular verb.

"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/misspelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Points out misspellings.

"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/mixed_metaphors.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Archaism.

"""
from tools import preferred_forms_check, memoize
from proselint.tools import preferred_forms_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/mondegreens.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Points out preferred form.

"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/needless_variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Points out use of needless variants.

"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/oxymorons.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Archaism.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/phrasal_adjectives.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Phrasal adjectives.

"""
from tools import existence_check, preferred_forms_check, memoize
from proselint.tools import existence_check, preferred_forms_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/preferred_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Points out preferred forms.

"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/punctuation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Dates.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/redundancy.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Points out use redundant phrases.

"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/sexism.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Points out sexist language.

"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/garner/skunked_terms.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Archaism.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/gnu_diction/cliches.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Cliches are cliché.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/gowers/overworked_metaphors.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
---

"""
from tools import memoize, existence_check
from proselint.tools import memoize, existence_check


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/inc/corporate_speak.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Avoid these cases of business jargon.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/inprogress/capitalization_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

World War Ii should have correct capitalizaiton.
"""
from tools import blacklist, memoize
from proselint.tools import blacklist, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/inprogress/example_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
The first line always is always wrong.

"""
from tools import reverse
from proselint.tools import reverse


def check(text):
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/leonard/exclamation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Too much yelling.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/leonard/hell.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Never use the phrase 'all hell broke loose'.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/lilienfeld/terms_to_avoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Psychological and psychiatric terms to avoid.

"""
from tools import preferred_forms_check, existence_check, memoize
from proselint.tools import preferred_forms_check, existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/misc/annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Annotation left in text.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/misc/chatspeak.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Chatspeak.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/misc/credit_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Credit card number printed.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/misc/currency.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Symbols.

"""
from tools import existence_check, memoize
from proselint.tools import existence_check, memoize


@memoize
Expand Down
2 changes: 1 addition & 1 deletion proselint/checks/misc/eponymous_adjectives.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Eponymous adjectives.

"""
from tools import memoize, preferred_forms_check
from proselint.tools import memoize, preferred_forms_check


@memoize
Expand Down
Loading