Commit graph

229 commits

Author SHA1 Message Date
Alvaro Andrés Rodríguez Scelza
23dfdc438c testing for two new hooks
changed name of testing files folder for testing samples... updated all paths using it
2019-06-12 11:31:40 -03:00
Alvaro Andrés Rodríguez Scelza
04d965a6a5 testing for xml encoding checker 2019-06-11 11:48:44 -03:00
Alvaro Andrés Rodríguez Scelza
c0145f16cb added all hooks to readme. Passing all tests 2019-06-11 11:13:33 -03:00
Alvaro Andrés Rodríguez Scelza
2a7440ef4f added another hook to readme. Improved last 2 hooks doc in readme 2019-06-11 10:41:20 -03:00
Alvaro Andrés Rodríguez Scelza
696b9321cd tests for pylint checker 2019-06-07 16:22:21 -03:00
Alvaro Andrés Rodríguez Scelza
6c45a86e16 corrected docstring typo error 2019-06-07 15:34:34 -03:00
Alvaro Andrés Rodríguez Scelza
b50feb702a Tests for location checker 2019-06-07 14:54:15 -03:00
Alvaro Andrés Rodríguez Scelza
3232c22bdf using str(ex) instead of print(ex.message) for python 3 compatibility 2019-06-07 14:50:06 -03:00
Alvaro Andrés Rodríguez Scelza
e70e7c8bba main_function rename to test_function 2019-06-07 14:44:48 -03:00
Alvaro Andrés Rodríguez Scelza
3224f10f45 line tests ready 2019-06-07 14:27:04 -03:00
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