Commit graph

836 commits

Author SHA1 Message Date
Yann Leprince
741d95128b Fix false positives of check-executables-have-shebangs
check-executables-have-shebangs needs to check the actual file mode
known to Git and avoid relying only on the filesystem permissions,
because some filesystems force the executable bit on every file (e.g.
fat32 on Linux).
2021-07-23 11:28:14 +02:00
Anthony Sottile
d0d9883648
Merge pull request #629 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-07-19 18:08:11 -04:00
pre-commit-ci[bot]
e9689b29b0
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.21.0 → v2.21.2](https://github.com/asottile/pyupgrade/compare/v2.21.0...v2.21.2)
2021-07-19 21:58:23 +00:00
Anthony Sottile
5dc21c15b2
Merge pull request #627 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-07-12 20:18:24 -04:00
pre-commit-ci[bot]
b008acc8b6
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.20.0 → v2.21.0](https://github.com/asottile/pyupgrade/compare/v2.20.0...v2.21.0)
2021-07-12 23:21:11 +00:00
Anthony Sottile
fe1db5fdb6
Merge pull request #626 from guykisel/case_conflict_performance
optimize check_case_conflict.parents
2021-07-10 12:45:01 -04:00
Guy Kisel
2468167371 remove unused os.path 2021-07-09 12:29:20 -07:00
Guy Kisel
8a4333fcff optimize check_case_conflict.parents 2021-07-09 12:26:07 -07:00
Anthony Sottile
e71fd49e70
Merge pull request #623 from pre-commit/py3-plus-which
use shutil.which instead of distutils.spawn
2021-07-07 14:09:09 -04:00
Anthony Sottile
301195efa9 use shutil.which instead of distutils.spawn 2021-07-07 14:06:01 -04:00
Anthony Sottile
8fa80b3606
Merge pull request #621 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-07-05 18:10:07 -04:00
pre-commit-ci[bot]
469e4b83f5
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.19.4 → v2.20.0](https://github.com/asottile/pyupgrade/compare/v2.19.4...v2.20.0)
2021-07-05 22:02:26 +00:00
Anthony Sottile
a7a4670f98
Merge pull request #620 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-06-28 18:14:34 -07:00
pre-commit-ci[bot]
de3f6c33c7
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-mypy: v0.902 → v0.910](https://github.com/pre-commit/mirrors-mypy/compare/v0.902...v0.910)
2021-06-28 17:37:51 +00:00
Anthony Sottile
b84362dd9a
Merge pull request #618 from pre-commit/all-repos_autofix_mypy-settings
stricter mypy settings
2021-06-21 19:42:15 -07:00
Anthony Sottile
8041dff63f stricter mypy settings
Committed via https://github.com/asottile/all-repos
2021-06-21 19:15:42 -07:00
Anthony Sottile
0bedbb96b9
Merge pull request #614 from cansarigol/pdbr-debug-statements
Added pdbr into debug statements
2021-06-15 07:10:05 -07:00
Can Sarıgöl
41b29e8c8d
Added pdbr into debug statements 2021-06-15 09:28:11 +02:00
Anthony Sottile
252f04654d
Merge pull request #613 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-06-14 11:52:53 -07:00
Anthony Sottile
fabe3d8855
Add mypy dependency on types-all 2021-06-14 11:30:37 -07:00
pre-commit-ci[bot]
172a87e6a8
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.19.1 → v2.19.4](https://github.com/asottile/pyupgrade/compare/v2.19.1...v2.19.4)
- [github.com/pre-commit/mirrors-mypy: v0.812 → v0.902](https://github.com/pre-commit/mirrors-mypy/compare/v0.812...v0.902)
2021-06-14 17:34:07 +00:00
Anthony Sottile
44effd2842
Merge pull request #611 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-06-07 18:51:05 -07:00
pre-commit-ci[bot]
00948d0833
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.19.0 → v2.19.1](https://github.com/asottile/pyupgrade/compare/v2.19.0...v2.19.1)
2021-06-08 01:46:25 +00:00
Anthony Sottile
f48244a805
Merge pull request #607 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-05-31 10:56:53 -07:00
pre-commit-ci[bot]
2d040b429d
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.18.2 → v2.19.0](https://github.com/asottile/pyupgrade/compare/v2.18.2...v2.19.0)
2021-05-31 17:25:23 +00:00
Anthony Sottile
371a07eb4c
Merge pull request #606 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-05-24 11:19:36 -07:00
pre-commit-ci[bot]
a4f7dedfed
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.16.0 → v2.18.2](https://github.com/asottile/pyupgrade/compare/v2.16.0...v2.18.2)
2021-05-24 17:20:10 +00:00
Anthony Sottile
7282c4b849
Merge pull request #604 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-05-17 11:18:53 -07:00
pre-commit-ci[bot]
d1fac7f826
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.15.0 → v2.16.0](https://github.com/asottile/pyupgrade/compare/v2.15.0...v2.16.0)
2021-05-17 17:23:36 +00:00
Anthony Sottile
38b88246cc v4.0.1 2021-05-16 08:29:57 -07:00
Anthony Sottile
0e40c1d61b
Merge pull request #603 from scop/check_shebang_scripts_are_executable-entrypoint
fix: check-shebang-scripts-are-executable entry point
2021-05-16 08:27:57 -07:00
Ville Skyttä
bb4eef160d fix: check-shebang-scripts-are-executable entry point
Closes https://github.com/pre-commit/pre-commit-hooks/issues/602
2021-05-16 13:23:23 +03:00
Anthony Sottile
dd3444783f
Merge pull request #601 from ibLeDy/fix/check-json-hook-failing
Fix `check-json` failing on ci runs
2021-05-15 07:35:35 -07:00
Iago Alonso
fed8b6debb
Rename file causing check-json to fail
- `mv duplicated_key_json.{json,notjson}`
- change reference to the file in `tests/check_json_test.py`

Fixes #600
2021-05-15 12:31:33 +02:00
Anthony Sottile
9cc62e1a63 v4.0.0 2021-05-14 20:17:35 -07:00
Anthony Sottile
b0b1a413c6
Merge pull request #599 from pre-commit/all-repos_autofix_more-inclusive-language
Use more inclusive language
2021-05-14 19:22:48 -07:00
Anthony Sottile
a5cf10d9b2 Use more inclusive language
Committed via https://github.com/asottile/all-repos
2021-05-14 19:12:09 -07:00
Anthony Sottile
11a996eec6
Merge pull request #597 from pre-commit/remove-deprecated
remove deprecated autopep8-wrapper, flake8, pyflakes
2021-05-11 13:16:53 -07:00
Anthony Sottile
1995abf556 remove deprecated autopep8-wrapper, flake8, pyflakes 2021-05-11 13:09:44 -07:00
Anthony Sottile
868784a49c
Merge pull request #595 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-05-10 14:08:46 -07:00
pre-commit-ci[bot]
f90bef2772
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/flake8: 3.9.1 → 3.9.2](https://github.com/PyCQA/flake8/compare/3.9.1...3.9.2)
- [github.com/asottile/pyupgrade: v2.14.0 → v2.15.0](https://github.com/asottile/pyupgrade/compare/v2.14.0...v2.15.0)
2021-05-10 20:21:04 +00:00
Anthony Sottile
11cdc8d820
Merge pull request #545 from scop/check-shebangs-executable
Add check for executability of scripts with shebangs
2021-05-04 18:49:58 -07:00
Ville Skyttä
391ae30a64 Add check for executability of scripts with shebangs
Closes https://github.com/pre-commit/pre-commit-hooks/issues/543
2021-05-04 18:45:43 -07:00
Ville Skyttä
9e7cd9f13a Refactor check_executables_have_shebangs for git ls-files reuse 2021-05-04 18:45:42 -07:00
Anthony Sottile
6c99eceab7
Merge pull request #593 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-05-03 10:27:13 -07:00
pre-commit-ci[bot]
4342783e1e
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-autopep8: v1.5.6 → v1.5.7](https://github.com/pre-commit/mirrors-autopep8/compare/v1.5.6...v1.5.7)
- [github.com/asottile/pyupgrade: v2.13.0 → v2.14.0](https://github.com/asottile/pyupgrade/compare/v2.13.0...v2.14.0)
2021-05-03 17:17:27 +00:00
Anthony Sottile
17875b1017
Merge pull request #591 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-04-26 11:05:23 -07:00
pre-commit-ci[bot]
0423b8b21f
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/reorder_python_imports: v2.4.0 → v2.5.0](https://github.com/asottile/reorder_python_imports/compare/v2.4.0...v2.5.0)
- [github.com/asottile/pyupgrade: v2.12.0 → v2.13.0](https://github.com/asottile/pyupgrade/compare/v2.12.0...v2.13.0)
2021-04-26 17:18:44 +00:00
Anthony Sottile
9ee77bd5a2
Merge pull request #588 from pre-commit/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-04-19 11:43:00 -07:00
pre-commit-ci[bot]
b5d10ac89f
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/flake8: 3.9.0 → 3.9.1](https://github.com/PyCQA/flake8/compare/3.9.0...3.9.1)
2021-04-19 17:08:17 +00:00