Commit Graph

20 Commits

Author SHA1 Message Date
mhchia
b726d7c9da
Add tox and CI for interop 2019-08-28 23:39:33 +08:00
Alex Stokes
9bff7b8ebf
Remove code coverage check from CI 2019-08-13 21:25:22 -07:00
Alex Stokes
87375e0f23
Use the default line length for black ('no configuration')
and update `isort` to a stable configuration given the black line length
2019-08-13 14:36:05 -07:00
Chih Cheng Liang
28f6de37ee
Fix the rest of the typing hints (#232)
* ignore kad

* fix swarm, and minor

* fix init and swarm

* ignore pb

* enable mypy

* fix basic host

* fix tcp

* fix mplex

* add typing for pb

* skip format pyi

* [mypy] no need to ignore pb now

* add typing to chat
2019-08-11 16:47:54 +08:00
Alex Stokes
a20c172480 update isort line length 2019-08-04 12:37:41 +08:00
Alex Stokes
905dfa9a8d Remove dependence on make in tox CI run 2019-08-04 12:37:41 +08:00
Alex Stokes
03b1304fe7 Remove rules we want to enforce or are unnecessary with our style 2019-08-04 12:37:27 +08:00
mhchia
727342a767
Move flake8 settings to tox.ini
And add flake8 in the Makefile.
2019-08-04 00:11:49 +08:00
mhchia
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
Alex Stokes
d78e6dbf04 Add black-compatible isort config 2019-08-03 17:50:14 +08:00
Alex Stokes
224b54ad93
Add basic flake8 config 2019-08-02 14:38:03 -07:00
Alex Stokes
da9d5cadec
Disables mypy in CI
Also moves linting to Makefile to take advantage of globbing.
2019-08-02 11:46:43 -07:00
Alex Stokes
51cc710dc0
remove pylint 2019-07-31 15:14:56 -07:00
Alex Stokes
a2133d8c7c
Add black check to CI 2019-07-31 14:59:47 -07:00
NIC619
5e215901c0
Apply PR feedback 2019-07-30 23:41:28 +08:00
NIC619
60d6703964
Temporary disable pylint on tests folder 2019-07-30 17:41:46 +08:00
mhchia
04b7df9fcf
Lint examples in tox 2019-07-24 18:00:57 +08:00
mhchia
529829b9f1
Move codecov to tox.ini 2019-07-24 16:41:19 +08:00
mhchia
1ae306ae8f
Fix mypy command
- Remove requirements_dev.txt
- Add detailed versions
2019-07-24 16:34:55 +08:00
mhchia
9497c3180f
Add tox
- Put extras_require to setup.py
- Add mypy
2019-07-24 15:54:30 +08:00