Commit graph

219 commits

Author SHA1 Message Date
Alvaro Andrés Rodríguez Scelza
d327922f34 new tests for check line.
refactoring common code: sent to new tests util file
2019-06-07 12:58:07 -03:00
Alvaro Andrés Rodríguez Scelza
96b7cf88a8 changed folder name 2019-06-07 12:16:34 -03:00
Alvaro Andrés Rodríguez Scelza
27b6aacbe7 changed folder name 2019-06-07 12:16:20 -03:00
Alvaro Andrés Rodríguez Scelza
8b6d2a5539 organizing docsttring tests 2019-06-06 09:26:59 -03:00
Alvaro Andrés Rodríguez Scelza
fab7447c37 docstring testing file 2019-06-05 12:04:58 -03:00
Alvaro Andrés Rodríguez Scelza
7370374564 editing tests for dosctring 2019-06-04 16:54:39 -03:00
Alvaro Andrés Rodríguez Scelza
7a64344cfc advancing in testing of docstring 2019-06-04 16:43:30 -03:00
Alvaro Andrés Rodríguez Scelza
bbcdf9d35b new folder structure for aut tests
starting dosctrnig checker tests
2019-06-04 15:25:46 -03:00
Alvaro Andrés Rodríguez Scelza
a43f3902b5 new folder structure for aut tests 2019-06-04 15:24:32 -03:00
Alvaro Andrés Rodríguez Scelza
3b8aa606c1 coverage report command does not need to specify ignoring 100% files: it's already specified in coverage conf file.
branch name checker tests ready at 100%
2019-06-04 12:47:51 -03:00
Alvaro Andrés Rodríguez Scelza
284c04df70 restoration before verification in aut test doc 2019-06-04 12:25:58 -03:00
Alvaro Andrés Rodríguez Scelza
659c0fa0d0 corrected print warning of python 3 2019-06-04 12:24:21 -03:00
Alvaro Andrés Rodríguez Scelza
aab57cf1db added exception expecting case for good practices 2019-06-04 11:02:25 -03:00
Alvaro Andrés Rodríguez Scelza
af333f7062 New package for aut testing 2019-06-04 10:57:30 -03:00
Alvaro Andrés Rodríguez Scelza
8f728441d8 added unit testing good practice 2019-06-04 10:56:57 -03:00
Alvaro Andrés Rodríguez Scelza
5462949e51 added automatic test explanation on how to run them 2019-06-02 20:27:19 -03:00
Alvaro Andrés Rodríguez Scelza
d6a73bebe5 manual testing configured and run ok 2019-06-02 12:48:55 -03:00
Alvaro Andrés Rodríguez Scelza
55e3de5322 reverted parenthesis changes: were only needed for python 3, but I'll use 2.7 from now on 2019-06-02 12:46:00 -03:00
Alvaro Andrés Rodríguez Scelza
1be6dd5dfb corrected import errors.
corrected print lack of parenthesis errors.
2019-06-02 03:56:14 -03:00
Alvaro Andrés Rodríguez Scelza
4d1b75fb33 Structured testing folder.
Added manual testing doc.
2019-06-02 02:57:23 -03:00
Alvaro Andrés Rodríguez Scelza
78d90a4cf1 added manual testing files 2019-06-02 02:51:12 -03:00
Alvaro Andrés Rodríguez Scelza
ad0f5863ed updated files names 2019-06-02 02:50:38 -03:00
Alvaro Andrés Rodríguez Scelza
41f01dd70a Added hooks conf
added doc files on how to use loaderon hooks
2019-06-02 02:44:57 -03:00
Alvaro Andrés Rodríguez Scelza
d0220a7b00 pylint default configuration example. 2019-06-02 02:22:54 -03:00
Alvaro Andrés Rodríguez Scelza
0a66e6635d Added loaderon-hooks logic 2019-06-02 02:10:25 -03:00
Anthony Sottile
711b730b67 Fix crlf line endings for double-quote-string-fixer 2019-05-16 09:42:04 -07:00
Anthony Sottile
79a1b2676e Handle crlf endings in fix-encoding-pragma 2019-05-15 10:04:18 -07:00
roottool
fc9fb8bfa8 Changed position of 'import io' 2019-04-22 04:24:41 +09:00
roottool
47c89785e8 Added newline 2019-04-22 04:17:09 +09:00
roottool
e7924b53e4 Changed from open() to io.open() 2019-04-22 03:48:18 +09:00
Anthony Sottile
053feb1e6f Use AbstractSet to appease mypy 2019-04-20 16:21:58 -07:00
Marc Jay
a7af812449 Make optional argument use an immutable set for the default value
in no-commit-to-branch. Make other sets immutable to satisfy type-checking
and be consistent
2019-04-20 23:07:14 +01:00
Marc Jay
8d2785b9d6 Amend approach for no-commit-to-branch to use regex matching based on
feedback. Adds --pattern optional argument which can be used alongside
--branch to block commits to a branch which matches a supplied
regex expression
2019-04-20 13:46:49 +01:00
Marc Jay
d6847c4827 Add wildcard matching to no-commit-to-branch hook so that commits can
be blocked on, for example, all release branches with 'release/*'
2019-04-09 23:53:39 +01:00
Anthony Sottile
2f6a2515ec Don't require an encoding for check-docstring-first 2019-03-30 15:31:42 -07:00
Anthony Sottile
8bb94f0bd4 azure pipelines [skip travis] [skip appveyor] 2019-03-10 16:56:44 -07:00
Anthony Sottile
8626e266dd double-quote-string-fixer 2019-02-11 19:57:37 -08:00
Anthony Sottile
4575652bd2 Use default flake8 config 2019-02-11 19:56:15 -08:00
Anthony Sottile
030bfac7e4 Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
Anthony Sottile
63cc3414e9 Updates for flake8 3.7 2019-01-30 00:15:11 -08:00
Anthony Sottile
e7158ce14d pre-commit autoupdate 2019-01-02 10:31:51 -08:00
Anthony Sottile
a762639038 switch from pyyaml to ruamel.yaml 2018-12-28 13:09:17 -08:00
Andy Gimblett
59ed512020 In mixed-line-endings, move check/print to main() as suggested by asottile (PR 341) 2018-11-26 17:35:03 +00:00
Andy Gimblett
f3c65bcd20 Report failing filenames when --fix=no in mixed-line-endings 2018-11-26 10:17:52 +00:00
Ryan Delaney
0d83fed4fa Reword usage info to clarify required usage syntax 2018-10-28 16:00:01 -07:00
Ryan Delaney
2d4833c73e Rename metavar to clarify required usage syntax 2018-10-28 15:58:14 -07:00
Ryan Delaney
b1feed0ced Add ban for pgp/gpg private key blocks 2018-10-22 12:11:59 -07:00
mtkennerly
e694a6cfc2 Incorporate patch to support isolated CR 2018-10-13 19:44:02 -04:00
mtkennerly
2ab5832ce1 Preserve CRLF if file already ends that way 2018-10-13 19:00:22 -04:00
mtkennerly
abd3d0ec3f Fix CRLF lines 2018-10-13 07:26:53 -04:00