[Python-modules-commits] [python3-proselint] 04/07: merge patched into master

Víctor Cuadrado Juan viccuad-guest at moszumanska.debian.org
Sun Nov 6 17:52:06 UTC 2016


This is an automated email from the git hooks/post-receive script.

viccuad-guest pushed a commit to branch master
in repository python3-proselint.

commit f2975c55b95456c90aa700601b18462f9442ebd2
Merge: aa83769 dc12bee
Author: Víctor Cuadrado Juan <me at viccuad.me>
Date:   Sun Nov 6 12:12:14 2016 +0100

    merge patched into master

 PKG-INFO                                           |   4 +-
 README.md                                          |  70 ++--
 debian/.git-dpm                                    |   6 +-
 ...001-Remove-debug-clearcache-functionality.patch |  32 +-
 ...02-Make-proselint-work-on-read-only-files.patch |  25 --
 debian/patches/series                              |   1 -
 proselint.egg-info/PKG-INFO                        |   4 +-
 proselint.egg-info/SOURCES.txt                     |  28 +-
 proselint.egg-info/pbr.json                        |   2 +-
 proselint/.proselintrc                             |   2 +-
 proselint/__init__.py                              |   3 +
 proselint/checks/archaism/misc.py                  |   2 +-
 proselint/checks/consistency/spelling.py           |   1 +
 proselint/checks/corporate_speak/misc.py           |   2 +-
 proselint/checks/cursing/filth.py                  |   2 +-
 proselint/checks/cursing/nfl.py                    |   2 +-
 proselint/checks/cursing/nword.py                  |   2 +-
 proselint/checks/hedging/misc.py                   |   4 +-
 proselint/checks/lexical_illusions/misc.py         |   2 +-
 proselint/checks/lgbtq/__init__.py                 |   1 +
 proselint/checks/lgbtq/offensive_terms.py          |  41 +++
 proselint/checks/lgbtq/terms.py                    |  39 +++
 proselint/checks/links/broken.py                   |   4 +-
 proselint/checks/misc/apologizing.py               |   4 +-
 proselint/checks/misc/composition.py               |   7 +-
 proselint/checks/misc/greylist.py                  |   8 +-
 proselint/checks/misc/metaconcepts.py              |   4 +-
 .../checks/misc/{narcisissm.py => narcissism.py}   |  14 +-
 proselint/checks/misc/phrasal_adjectives.py        |   2 +
 proselint/checks/misc/scare_quotes.py              |   4 +-
 proselint/checks/misc/tense_present.py             |   7 +-
 proselint/checks/misc/usage.py                     |   6 +-
 proselint/checks/redundancy/misc.py                | 358 +++++++++++++++++++++
 proselint/checks/redundancy/ras_syndrome.py        |   3 +
 proselint/checks/sexism/misc.py                    |   2 +-
 proselint/checks/terms/venery.py                   |   1 +
 proselint/checks/typography/diacritical_marks.py   |   2 +-
 proselint/checks/typography/exclamation.py         |   4 +-
 proselint/checks/uncomparables/misc.py             |   7 +-
 proselint/command_line.py                          | 152 ++-------
 proselint/score.py                                 |   5 +-
 proselint/tools.py                                 | 172 ++++++++--
 proselint/version.py                               |   2 +-
 setup.cfg                                          |   4 +-
 tests/_test_version.py                             |   2 +-
 tests/test_annotations.py                          |  23 ++
 tests/test_archaism.py                             |  23 ++
 tests/test_cliches.py                              |  46 +++
 tests/test_consistency_check.py                    |  32 ++
 tests/test_consistency_spacing.py                  |  24 ++
 tests/test_consistency_spelling.py                 |  24 ++
 tests/test_corporate_speak.py                      |  23 ++
 tests/test_cursing_filth.py                        |  22 ++
 tests/test_cursing_nfl.py                          |  22 ++
 tests/test_cursing_nword.py                        |  22 ++
 tests/test_dates_times_am_pm.py                    |  73 +++++
 tests/test_dates_times_dates.py                    |  87 +++++
 tests/test_demo.py                                 |   2 +-
 tests/test_existence_check.py                      |  52 +++
 tests/test_exit_codes.py                           |   4 +-
 tests/test_garner_dates.py                         |   2 +-
 tests/test_hedging.py                              |  22 ++
 tests/test_hyperbole.py                            |  22 ++
 tests/test_illegal_chars.py                        |  29 ++
 tests/test_jargon.py                               |  22 ++
 tests/test_junge_but.py                            |   2 +-
 tests/test_leonard.py                              |  27 ++
 tests/test_lexical_illusions.py                    |  22 ++
 tests/test_lgbtq_offensive_terms.py                |  23 ++
 tests/test_lgbtq_terms.py                          |  31 ++
 tests/test_preferred_forms_check.py                |  40 +++
 tests/test_tools.py                                |  35 ++
 72 files changed, 1529 insertions(+), 276 deletions(-)

diff --cc debian/.git-dpm
index 1579ecd,0000000..9910be5
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
 +# see git-dpm(1) from git-dpm package
- ea7e07400ae1888c69fda178c815fb6a1b83ce7a
- ea7e07400ae1888c69fda178c815fb6a1b83ce7a
- ba0c1d24e6988f0cb17057e0514dcb4298043363
++dc12beecfb861d8b32ca56bbc53ecf4d000ffce5
++dc12beecfb861d8b32ca56bbc53ecf4d000ffce5
++9431fd0ca51f1b07831deb1b450eac806989cc1a
 +9431fd0ca51f1b07831deb1b450eac806989cc1a
 +python3-proselint_0.7.0.orig.tar.gz
 +3c504317f55255690c0f1bb78b6e07391c7e9452
 +78585
 +debianTag="debian/%e%v"
 +patchedTag="patched/%e%v"
 +upstreamTag="upstream/%e%u"
diff --cc debian/patches/0001-Remove-debug-clearcache-functionality.patch
index acb006c,0000000..64264f1
mode 100644,000000..100644
--- a/debian/patches/0001-Remove-debug-clearcache-functionality.patch
+++ b/debian/patches/0001-Remove-debug-clearcache-functionality.patch
@@@ -1,42 -1,0 +1,24 @@@
- From ac711e75abfd4f737aa95086803ae1296b8f3343 Mon Sep 17 00:00:00 2001
++From dc12beecfb861d8b32ca56bbc53ecf4d000ffce5 Mon Sep 17 00:00:00 2001
 +From: =?UTF-8?q?V=C3=ADctor=20Cuadrado=20Juan?= <me at viccuad.me>
 +Date: Thu, 16 Jun 2016 09:38:57 +0200
 +Subject: Remove `--debug` clearcache functionality
 +
 +Fixes #821886
 +---
-  proselint/command_line.py | 14 --------------
-  1 file changed, 14 deletions(-)
++ proselint/command_line.py | 3 ---
++ 1 file changed, 3 deletions(-)
 +
 +diff --git a/proselint/command_line.py b/proselint/command_line.py
- index 8d1d6e4..911af52 100644
++index d7efb69..1a33a6e 100644
 +--- a/proselint/command_line.py
 ++++ b/proselint/command_line.py
- @@ -108,16 +108,6 @@ def timing_test(corpus="0.1.0"):
-      return time.time() - start
-  
-  
- -def clear_cache():
- -    """Delete the contents of the cache."""
- -    click.echo("Deleting the cache...")
- -    subprocess.call("find . -name '*.pyc' -delete", shell=True)
- -    subprocess.call(
- -        "rm -rfv proselint/cache > /dev/null && mkdir -p {}".format(
- -            os.path.join(os.path.expanduser("~"), ".proselint")),
- -        shell=True)
- -
- -
-  def errors_to_json(errors):
-      """Convert the errors to JSON."""
-      out = []
- @@ -188,10 +178,6 @@ def proselint(paths=None, version=None, initialize=None, clean=None,
-          click.echo(lintscore())
++@@ -97,9 +97,6 @@ def proselint(paths=None, version=None, clean=None, debug=None,
++         click.echo(timing_test())
 +         return
 + 
 +-    # In debug or clean mode, delete cache & *.pyc files before running.
 +-    if debug or clean:
 +-        clear_cache()
- -
++ 
 +     # Use the demo file by default.
 +     if demo:
-          paths = [demo_file]
diff --cc debian/patches/series
index 7f82830,0000000..feac9df
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,2 -1,0 +1,1 @@@
 +0001-Remove-debug-clearcache-functionality.patch
- 0002-Make-proselint-work-on-read-only-files.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python3-proselint.git



More information about the Python-modules-commits mailing list