Commit Graph

34 Commits

Author SHA1 Message Date
pre-commit-ci[bot] f5925944a2
[pre-commit.ci] pre-commit autoupdate (#2751)
updates:
* github.com/pre-commit/mirrors-clang-format: v14.0.4-1 → v14.0.5
* github.com/pre-commit/mirrors-prettier: v2.6.2 → v2.7.1
2022-06-22 11:14:45 -07:00
pre-commit-ci[bot] 26c3f4dbd4
[pre-commit.ci] pre-commit autoupdate (#2707) 2022-06-13 17:05:38 -07:00
Hood Chatham dbbbbb67b2
Cryptography v36.0.2 w/ Rust (#2378) 2022-06-09 10:57:34 -07:00
pre-commit-ci[bot] 5d1aff3262
[pre-commit.ci] pre-commit autoupdate (#2649)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-30 21:44:25 -07:00
pre-commit-ci[bot] af972267c7
[pre-commit.ci] pre-commit autoupdate (#2597)
updates:
- [github.com/hadialqattan/pycln: v1.3.2 → v1.3.3](https://github.com/hadialqattan/pycln/compare/v1.3.2...v1.3.3)
2022-05-25 08:40:03 +02:00
Henry Schreiner e31bb554e4
chore: complete more incomplete types (#2590)
* chore: add some incomplete types
* chore: modernize pyproject.toml

Adding more incomplete types. About 2/3 of the way through being
able to turn on the strictness flag for it.
2022-05-21 13:35:02 -07:00
Henry Schreiner eb4f7d9fd9
refactor: use .path & type build (#2583) 2022-05-20 08:27:02 +02:00
pre-commit-ci[bot] fac0e3bc98
[pre-commit.ci] pre-commit autoupdate (#2534)
updates:
- [github.com/asottile/pyupgrade: v2.32.0 → v2.32.1](https://github.com/asottile/pyupgrade/compare/v2.32.0...v2.32.1)
- [github.com/pre-commit/mirrors-clang-format: v14.0.1 → v14.0.3](https://github.com/pre-commit/mirrors-clang-format/compare/v14.0.1...v14.0.3)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-09 13:04:32 -06:00
Hood Chatham cefaa2f04c
Add run_js to pyodide Python package (#2426)
Add a `run_js` API that evals JavaScript code and returns the result as a `JsProxy`.
2022-05-06 15:27:29 -06:00
pre-commit-ci[bot] 6fc28c5669
[pre-commit.ci] pre-commit autoupdate + typing fixes for new mypy (#2450)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
2022-05-05 07:41:00 -06:00
Hood Chatham 7a9273dd6c v0.20.0 2022-04-09 13:44:32 -07:00
Henry Schreiner 4ec97fd939
fix: minor touchups (#2374)
Fixing a minor issue - pyodide-build doesn't work out of the box, it's missing two requirements.

Also updating a typo in the docs, and minor pre-commit bump.
2022-04-08 13:58:58 -07:00
Henry Schreiner 93dc922f46
chore: Python 3.10 pyupgrade (#2342)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2022-04-02 00:36:55 +02:00
Henry Schreiner 6f62a89d86
fix: better mypy coverage (#2339) 2022-04-01 21:58:54 +02:00
Henry Schreiner ca97aaf9bd
chore: fix black breakage from click 8.1 (#2328) 2022-03-29 15:09:15 +02:00
Hood Chatham 0e1e2ac01c
Python 3.10 (#2225) 2022-03-17 15:48:56 -07:00
Henry Schreiner 18e664afb1
chore: isort avoid local build confusion, bump pre-commit (#2274) 2022-03-14 14:08:50 -07:00
Henry Schreiner 4f8b0a0344
chore: more pre-commit checking (#2257) 2022-03-07 21:51:20 -08:00
Gyeongjae Choi fd8433a013
MAINT Refactor benchmark script (#2227)
One can select which benchmark (pystone, numpy, matplotlib, or all) to be run through command-line arguments.
We can divide each benchmark to separate CI jobs in the future if needed.
Moved pystone benchmark to benchmark directory, preventing it from being included in Pyodide release.
2022-03-02 10:11:36 -08:00
Henry Schreiner 8d00451142
chore: enable the rest of flake8 & bugbear (#2216) 2022-02-27 12:39:53 -05:00
Henry Schreiner edadd26439
chore: update pre-commit hooks (#2209) 2022-02-23 23:58:11 -05:00
Henry Schreiner 8385df36a4
tests: enabling mypy on untyped defs (#2204) 2022-02-23 17:10:53 -05:00
Henry Schreiner 66856a7427
MAINT isort (#2200) 2022-02-21 23:27:03 +01:00
Henry Schreiner ed22c06e07
chore: pyupgrade 3.9+ (#2195) 2022-02-20 17:13:37 -05:00
Henry Schreiner 41b6db1bab
style: improve pre-commit (#2177) 2022-02-19 09:06:25 +01:00
Hood Chatham b322d6727a
Update prettier precommit and ci rules (#1747) 2021-07-25 08:02:33 -07:00
Hood Chatham ecf7468e72
MAINT Set default python version for precommit [skip ci] (#1663) 2021-06-26 00:04:10 +02:00
Roman Yurchak f063719e98
MAINT Use Chrome 89 in tests (#1462) 2021-04-13 23:12:39 +02:00
Dexter Chua 27e2800120
Use upstream file packager instead of fork (#991) 2021-01-01 08:48:28 +01:00
Hood Chatham c9c4499a0d
Maint: precommit clang-format (#942)
This resolves #935. I also changed the lint make recipe to use find which is more resilient to changes in directory structure and doesn't output those annoying No such file or directory messages to stdout.

I changed the name of the apply-lints recipe to apply-lint for consistency, and I updated it to only apply lints to files with staged changes.
2020-12-31 09:57:41 +08:00
Roman Yurchak a84ecd31f6
Fix lint CI (#759) 2020-09-24 12:28:10 +02:00
Roman Yurchak 5cc20673be
MNT Add mypy setup in CI and pre-commit (#746) 2020-08-16 19:35:32 +02:00
Roman Yurchak 9afc7a1617
STY Apply black for code style (#702)
* Apply black

* A few fixes

* Relax flake8 checks

* Exclude tools/file_packager.py from black
2020-06-28 20:24:40 +02:00
Roman Yurchak e7dd4588ab
MNT Add pre-commit config (#698) 2020-06-27 14:57:48 +02:00