Commit graph

64 commits

Author SHA1 Message Date
David Hewitt 558549e1c2 pyproto: split into new feature 2022-02-05 16:51:31 +00:00
David Hewitt 8b47f4f120 pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00
messense ce80b7e0f3 Switch from tox to nox 2022-01-17 00:24:33 +08:00
David Hewitt d520961b3f xtask: add coverage command 2021-12-21 22:28:36 +00:00
Bruno Kolenbrander 39cac9075b
Organize examples + add __call__ example (#2043)
* Add decorator example crate and split off chapter

* Move not-examples to their own folder

* Add some readme's

* Make black happy

* Make clippy happy

* Add decorator example crate and split off chapter

* Fix ci

* Add empty workspace key

* Try fix ci

* fix ci

* reuse target dir for examples CI

* add pytests folder to makefile recipes

* fix ci, try 2

* add missing pyproject.toml

* remove TOX_TESTENV_PASSENV from Makefile

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-12-15 00:45:26 +00:00
David Hewitt cbe2b2a361 ci: use makefile for fmt 2021-12-09 08:17:08 +00:00
David Hewitt a5ef9ff64a ci: clippy whole workspace 2021-12-09 08:11:28 +00:00
David Hewitt 031d7bd094 makefile: fix test_py job, add list_all_additive_features 2021-10-24 08:03:55 +01:00
Bruno Kolenbrander ae873698d4
Implement eyre feature (#1893)
* Implement `eyre` feature

* Punctuation

* Add `eyre` entry in changelog

* Add `eyre` feature entry to guide

* Set eyre upper bound and move comment back

* Add eyre feature to docs.rs metadata

* Finish up review suggestions

* Update CHANGELOG.md

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-10-13 22:36:06 +00:00
David Hewitt b66f539473 docs: sync README and lib.rs examples 2021-08-02 23:03:25 +01:00
David Hewitt defd09c166 rust: updates for rust 1.52 2021-05-06 23:18:34 +01:00
Daniil Konovalenko abb5829e9c implement Serialize, Deserialize for Py<T> 2021-01-11 22:19:10 +00:00
David Hewitt 0da12bd0dc ci: deny clippy warnings for examples 2020-12-31 22:11:48 +00:00
David Hewitt a689ab42c6 macros: rename crates for consistency 2020-12-20 06:39:28 +00:00
David Hewitt 33b8aba3bb examples: simplify tox instructions 2020-11-10 12:50:41 +00:00
David Hewitt 38af32e33e Release 0.12.3 2020-10-12 16:18:25 +01:00
David Hewitt 7fe989693c Move fmt and clippy to actions 2020-08-09 12:15:54 +01:00
kngwyu 83e5d274cf Remove tox -e py from Makefile 2020-06-28 23:53:46 +09:00
kngwyu 404f3981e5 Improve docs and Remove all-stable feature 2020-06-21 16:10:19 +09:00
kngwyu ac922e5756 Exclude benches from 'make lint' clippy run 2020-06-18 20:32:31 +09:00
kngwyu 64408142f5 Use all-stable feature in CI instead of --all-features 2020-06-18 18:43:46 +09:00
Alexander Niederbühl 468bb765bb Add checking of examples with clippy 2020-06-05 13:51:51 +02:00
Alexander Niederbühl 7eb9afbac2 Clean up Makefile 2020-06-05 13:51:15 +02:00
Georg Brandl 701fb7f2b5 "make test": fail if one of the example toxes fails 2020-03-13 13:29:30 +01:00
Alexander Niederbühl 6e216ffd63 Remove ignoring of new_ret_no_self in clippy target
After the changes in the `#[pyclass]` system in #683, `new` can return
self and there is no reason anymore to ignore this lint.
2020-01-12 01:46:33 +01:00
konstin 73947d84b4
Format examples with black (#590) 2019-09-06 01:16:09 +02:00
Samuele Maci 1cdd6020cc Add dedicated makefile target for lint, clippy, fmt execution 2019-08-17 14:10:35 +02:00
konstin c38b1bc7a0 Actually run 3.8 on travis 2019-02-10 19:56:49 +01:00
konstin 62d9b40274 Add Contributing.md 2019-02-10 19:42:24 +01:00
konstin c868cc3e4b Fix test 2019-02-01 16:31:18 +01:00
konstin 2dc8813cf8 Improve testing setup 2019-01-08 20:18:23 +01:00
konstin c77049541a Fix CI
black requires 3.6+ to be installed
2018-11-11 18:13:33 +01:00
konstin da0d6eeb5d Small tooling fixes 2018-11-02 22:32:18 +01:00
konstin 38651a1827 Add tox config for pyo3 itself 2018-10-09 18:49:54 +02:00
konstin e6569ae61e Remove ::pyo3::argparse::get_kwargs for from_borrowed_ptr_or_opt 2018-09-03 20:50:02 +02:00
konstin 2627fa8a08 0.3.2 2018-07-22 21:36:18 +02:00
konstin c9db4f0da2 Some cleanup and housekeeping 2018-05-30 15:03:31 +02:00
Nikolay Kim d02a950eb6 test word-count-cls 2017-11-18 07:09:39 -10:00
messense 43a5d6f1b4 Test and benchmark word-count example (#60)
* Test and benchmark word-count example

* Optimize rust word_count
2017-07-26 12:37:36 +08:00
Nikolay Kim 3bed79fe0b add clippy and doc to travis 2017-06-15 09:11:19 -07:00
Nikolay Kim 2fdbcd356a fix py2 travis build 2017-06-11 22:34:45 -07:00
Nikolay Kim a517b994ca nightly is on always 2017-06-11 22:28:54 -07:00
messense 861bee7a0f
Enable all tests on CI 2017-05-31 12:00:22 +08:00
Nikolay Kim c9aefd7e5f drop py_class 2017-05-16 23:43:39 -07:00
Nikolay Kim f4feade487 add PyAsyncProtocol 2017-05-14 18:55:04 -07:00
Nikolay Kim a24c2f04f6 do not run check symbols 2017-05-14 13:14:02 -07:00
Nikolay Kim 03a3817878 update readme and travis 2017-05-12 23:01:54 -07:00
Nikolay Kim bf4e36d9d9 update travis config 2017-05-12 22:51:14 -07:00
Nikolay Kim 8a295793a0 include py3 ffi info into crate 2017-05-12 22:05:00 -07:00
Matteo Bertini 1cf4f275e1 py27/build.rs: generated from py3/build.rs
Add Makefile `cog `task and `cog` annotation to keep the build.rs files in sync.
2017-01-27 11:22:02 +01:00