Commit graph

615 commits

Author SHA1 Message Date
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
2639a27098 added pylint requirement 2019-06-02 02:15:07 -03:00
Alvaro Andrés Rodríguez Scelza
bc32cc6ba6 added loaderon-hooks conf to setup 2019-06-02 02:13:36 -03:00
Alvaro Andrés Rodríguez Scelza
0a66e6635d Added loaderon-hooks logic 2019-06-02 02:10:25 -03:00
Anthony Sottile
0b70e285e3 v2.2.3 2019-05-16 09:58:18 -07:00
Anthony Sottile
24c5f07105
Merge pull request #386 from pre-commit/line_endings_string_fixer
Fix crlf line endings for double-quote-string-fixer
2019-05-16 09:48:59 -07:00
Anthony Sottile
711b730b67 Fix crlf line endings for double-quote-string-fixer 2019-05-16 09:42:04 -07:00
Anthony Sottile
e8e54f7f99 v2.2.2 2019-05-15 10:17:27 -07:00
Anthony Sottile
404e226b3b
Merge pull request #384 from pre-commit/line_endings
Handle crlf endings in fix-encoding-pragma
2019-05-15 10:15:07 -07:00
Anthony Sottile
79a1b2676e Handle crlf endings in fix-encoding-pragma 2019-05-15 10:04:18 -07:00
Anthony Sottile
45fc394c19
Merge pull request #382 from pre-commit/all-repos_autofix_mypy-ini
Combine mypy.ini and setup.cfg
2019-05-08 14:37:10 -07:00
Anthony Sottile
8bb09ce407 Combine mypy.ini and setup.cfg
Committed via https://github.com/asottile/all-repos
2019-05-08 14:30:29 -07:00
Anthony Sottile
6d7906e131
Merge pull request #380 from pre-commit/all-repos_autofix_azure-pre-commit
speed up azure jobs
2019-04-28 16:42:08 -07:00
Anthony Sottile
9eb0d699ec speed up azure jobs
Committed via https://github.com/asottile/all-repos
2019-04-28 16:26:55 -07:00
Anthony Sottile
1f6de3d703
Merge pull request #379 from pre-commit/all-repos_autofix_trim-passenv
Trim passenv (tox>=2.8)
2019-04-21 16:28:55 -07:00
Anthony Sottile
c898df99ed Trim passenv (tox>=2.8)
Committed via https://github.com/asottile/all-repos
2019-04-21 16:12:19 -07:00
Anthony Sottile
9ee4347a8f v2.2.1 2019-04-21 13:17:05 -07:00
Anthony Sottile
7905d805af v2.2.0 2019-04-21 13:15:43 -07:00
Anthony Sottile
f67747875e
Merge pull request #378 from roottool/change-from-open-to-io.open#377
Changed from open() to io.open()
2019-04-21 12:36:48 -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
5b01ea52f2 empty commit 2019-04-22 04:11:18 +09:00
roottool
e7924b53e4 Changed from open() to io.open() 2019-04-22 03:48:18 +09:00
Anthony Sottile
e6e26c3110
Merge pull request #376 from marcjay/no-commit-to-branch-wildcard
Add regex matching to no-commit-to-branch hook
2019-04-20 16:50:49 -07: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
6568414fc5 Clarify default behaviour in README for no-commit-to-branch 2019-04-20 14:06:59 +01:00
Marc Jay
7b959d140f Tidy up indentation in README changes for no-commit-to-branch 2019-04-20 13:52:59 +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
aa9c202b9b
Merge pull request #374 from pre-commit/check_docstring_first_no_encoding
Don't require an encoding for check-docstring-first
2019-03-30 15:44:22 -07:00
Anthony Sottile
2f6a2515ec Don't require an encoding for check-docstring-first 2019-03-30 15:31:42 -07:00
Anthony Sottile
cbc17d19d9
Merge pull request #372 from tobywf/master
Run check-byte-order-marker against all text types
2019-03-21 16:43:40 -07:00
Toby Fleming
841c47ebf7 Run check-byte-order-marker against all text types, not just Python files 2019-03-21 16:33:00 -07:00