Commit Graph

63 Commits

Author SHA1 Message Date
82b34ed70e drop latexpdf from docs build 2024-10-28 14:54:25 -06:00
eea065fb57 reorg test structure to match tox and CI jobs, drop bumpversion for bump-my-version and move config to pyproject.toml, fix docs building 2024-04-20 09:18:26 -06:00
94483714a3 run lint and fix errors, except mypy 2024-02-19 16:05:58 -07:00
42605c0288 merge template updates and refill vars 2024-02-19 14:49:30 -07:00
bdd1a342d9 add docs build path for ci to check pdf and epub 2024-01-31 16:20:42 -07:00
4d17820fca Further generalize the grep command for remote check 2023-11-27 14:30:52 -07:00
7f75b270a5 Use upcoming version in make notes commit 2023-11-07 12:13:48 -07:00
3c65483121 update the grep command for upstream branch check
- Sometimes 'www.' is used in the url for https
2023-11-07 12:08:39 -07:00
86440ee879 add autoflake to lint and move config to pyproject.toml 2023-10-12 12:11:12 -06:00
146a3a9b02 drop egg references 2023-10-11 10:49:47 -06:00
0065691db7 Update Makefile
missing doublequote
2023-10-04 13:55:19 -06:00
7099bbaaa4 Add pre commit (#103)
* add pre-commit

* run pre-commit

* skip lint on README.md as it breaks template filling
2023-10-04 13:32:07 -06:00
37841d57ed Update release command to check remote for upstream 2023-06-14 14:38:28 -06:00
024f9dbd54 Add tests to distribution by default (#97) 2023-06-14 07:59:07 -06:00
42be4de76c fix typos in ci config and Makefile 2023-06-02 15:06:42 -06:00
1f5fc7208b Remove testall (#88)
* remove testall because it doesnt work
2023-05-01 15:19:16 -06:00
cc24e7e468 update tox calls to use run, update all pip calls to use python -m (#86) 2023-05-01 15:19:16 -06:00
da9b95f37c introduce contributing doc + main branch convention (#84) 2023-05-01 15:19:16 -06:00
be0106907f Merge pull request #70 from fselmo/minor-cleanup
Do not invoke `setup.py` directly; minor refactor + cleanup
2022-11-30 11:57:29 -07:00
7c85f95a4d Do not invoke `setup.py` directly
- It is not recommended to invoke ``setup.py`` directly, instead opting for ``python -m build`` for the commands in this commit (see: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html)
- Add newsfragment for #70
2022-11-21 17:40:56 -07:00
4bd024028b Fix a copy-paste mistake from #65
toxinidir won't mean anything in a Makefile
2022-09-22 13:47:14 -07:00
8a4cb1d938 Upgrade isort to v5 for black support 2022-09-22 13:38:20 -07:00
99af2f4d53 Misc Updates (#65)
* Tweaks to release process

* Drop python 3.6
2022-09-19 14:35:39 -06:00
160c0feb05 Add a validate docs command (#64) 2022-06-22 13:55:56 -06:00
cb112ef9c1 Upgrade towncrier to fix the duplicate title bug 2022-06-02 15:36:24 -07:00
4d0358f67b Be sure to remove py3 cache files 2020-09-24 08:59:09 -07:00
be1c324204 Add some Makefile doc strings 2020-09-24 08:58:58 -07:00
c447735449 Better error if bump missing in make notes/release 2020-05-11 13:55:17 -07:00
d7fabab3e1 Noise: add compiled pb2.py 2020-02-09 13:23:12 +08:00
ce5663705f Merge branch 'master' into feature/porting-to-trio 2019-12-24 02:19:43 +08:00
d503950179 Fix all doc build warnings 2019-11-26 17:44:33 -08:00
27da312285 Splice in project template
I tried to merge it so that future updates from the template will be
much easier.

The template is hosted at:
https://github.com/ethereum/ethereum-python-project-template
2019-11-26 13:30:41 -08:00
07eecb5c69 Separate release-note build from release 2019-11-25 21:44:29 +01:00
02fe35663c Setup towncrier to generate release notes 2019-11-25 21:44:29 +01:00
bcd7890124 Move test utilities to tools (#356)
* move test factories to libp2p/tools

* remove unused inits

* move pubsub test utils to tools

* cleanup test_interop

* fix typing libp2p/tools/utils

* add typing to pubsub utils

* fix factories typing

* fix typing for floodsub_integration_test_settings

* fix rest of the typing

* fix isort
2019-11-21 11:47:54 +08:00
444929d5fc Add tool to make package for smoke test 2019-11-15 11:25:03 -08:00
01ebfa760f Add identify protobufs to makefile 2019-11-05 17:37:43 -08:00
3439a2c10e Add docformatter to lintroll and tox CI check 2019-10-26 12:45:26 +02:00
87ed98d7af Add newline before docstring summary 2019-10-24 20:10:36 +02:00
eef505f2d9 Add automatic docstring formatter and apply 2019-10-24 08:41:10 +02:00
006002f687 Move interop tests out of tests
It is moved to the top level package `tests_interop`, to avoid circular
dependency, with the dependency moved to `tox`.
2019-09-23 22:00:40 +08:00
fd08bcf624 Add secio protobufs 2019-08-24 22:37:43 +02:00
59b373b48a Add plaintext.proto
Update Makefile to handle the import in `plaintext.proto`.
Import path is modified to be relative to the project root.
And we run `protoc` from where `Makefile` locates, i.e. the project
root.

Reference:
- plaintext.proto: 62b2c6c482/sec/insecure/pb/plaintext.proto
2019-08-22 22:53:46 +08:00
0f81ca42a6 Add mypy protobufs plugin and regenerate protobufs 2019-08-15 16:01:44 -07:00
61f78c8feb Add abstraction for a cryptographic key 2019-08-14 09:00:39 -07:00
a937c6f3fa Enable mypy in Makefile 2019-08-13 14:32:54 -07:00
69ec86c871 Remove grpc dependency 2019-08-03 11:17:28 -07:00
0b11e32000 Remove the TODO flag for flake8 2019-08-04 00:32:32 +08:00
727342a767 Move flake8 settings to tox.ini
And add flake8 in the Makefile.
2019-08-04 00:11:49 +08:00
4fef80595c Skip pb files in linters
In isort, black, and flake8, respectively.

Add `format` in Makefile

Run top level packages only

With `setup.py`, to avoid running other unrelated directories.

Refactor
2019-08-03 23:34:56 +08:00