Commit Graph

30 Commits

Author SHA1 Message Date
Michel Oosterhof 0d2817a38b
Fixes2 (#1802)
* add pylint. fix variable names
* add ruff. remove twistedchecker
* update pre-commit
* update hadolint. ruff mandatory in tox
* add pyright as optional
* add coverage
* typing
* fix telnet
* fix #1757
2023-01-07 22:09:09 +08:00
Michel Oosterhof f77bd0b8f3
stuff (#1798)
* shell var expansion fix + test scripts
* add `ruff` testing
* deprecation warning explanation
* updated prereqs
2023-01-03 16:59:24 +08:00
Michel Oosterhof b56e257c29
more typing (#1795)
* more typing
2022-12-15 11:46:15 +08:00
Michel Oosterhof c320d89000
Py11 (#1774)
* 3.11 and pypy 3.9
2022-10-26 20:40:37 +02:00
Michel Oosterhof f7f31c7d73
remove python 3.7 (#1721)
* remove python 3.7
2022-05-25 09:15:19 +08:00
Michel Oosterhof eb4a061e24
py311 (#1716)
* python 3.11-beta-1
* pytype only for py<3.11
2022-05-19 21:21:21 +08:00
Michel Oosterhof 830b3860e7
tpying mostly (#1714)
* typing hints mostly with a few bug fixes.
2022-05-01 00:08:34 +08:00
Michel Oosterhof bdbad6ca4f
testing for 22.4 (#1709)
* rewrite curl/wget for 22.4
* update reqs
2022-04-22 22:51:13 +08:00
Michel Oosterhof f8e3341800
remove version requirement from importlib (#1688)
* remove version requirement from importlib
* do pypy37 and pypy38
2022-01-30 14:00:55 +08:00
CLO 9c528fdc0e
moving from twisted.trial.unittest to unittest (#1672)
* replace twisted.trial.unittest with unittest
2022-01-29 11:38:46 +08:00
Michel Oosterhof 555ff10d95
Mypy (#1644)
this is release 2.30 many new typing improvements. deprecate python 3.6.
2021-10-17 23:30:18 +08:00
Michel Oosterhof 99cc0033f0
Py310 (#1636)
* add py3.10
* limit pytype to python<3.10

Co-authored-by: Michel Oosterhof <michel@MacBook-Pro.local>
2021-10-10 12:08:36 +08:00
Michel Oosterhof 2a68eacb69
Pip check (#1576)
* add pip check/pip install to verify recommend config actually works
* add yamllint because too much yaml now
* add FAQ's
2021-06-09 13:37:10 +08:00
Michel Oosterhof 813f35e86d
26apr (#1552)
* typing
* clean also cleans docs/
* ignore twistedchecker exit code
* twistedchecker fixes
* update docs. add copy button
* add missing $ prompts
* updated copyright
* isort
* remove flake8-import order. config flake8/isort/black
* remove import order
* docs restructure
* should pick up settings from setup.cfg
* put conversion code back in. JSON encoding needs it
2021-05-03 23:42:25 +08:00
Michel Oosterhof a79d6bc0ca
Gh actions pypy (#1544)
* typing
* python version updates in ci/cd
* only mypy on cpython
* twistedchecker ignore errors
* only run auto updater on the main repository
2021-04-26 08:03:52 +08:00
Michel Oosterhof 628ad9bed7
Gh action tox (#1536)
* tox via gh-action
2021-04-16 21:47:12 +08:00
Michel Oosterhof 2b818ec1ec
Pyre (#1531)
* add pyre
2021-04-13 21:55:23 +08:00
Michel Oosterhof ac2ad04925
Mypy4 (#1526)
* remove python2 support, assume 3.6+
* ignore .envrc
* type annotations
* rewrite cowrieconfig from singleton class to module variable
* add resumeproducing function
* name has become bytes (was str before)
* remove unreachable statement
* add typing for mock fake transport
* enable mypy check by default
2021-04-03 23:53:44 +08:00
Michel Oosterhof 66005e8e17
Mypy (#1517)
* add twistedchecker
* add mypy, failure allowed
2021-03-26 10:29:45 +08:00
Michel Oosterhof 6d23d70988
blackify. (#1518)
Use black coding standard. Update flake8 configuration with new settings.
2021-03-26 00:16:42 +08:00
Michel Oosterhof fd3f552732 Revert "update flake8/black calls"
This reverts commit 14e2087cc9.
2021-03-26 00:11:28 +08:00
Michel Oosterhof 14e2087cc9 update flake8/black calls 2021-03-26 00:09:26 +08:00
Michel Oosterhof 4b1474cba2
python versions update (#1448)
* Update tox/circleci/travis build infrastructure. Remove Py 2.7 and 3.5.
* Add `pip check` command to build pipeline.
2020-11-10 13:46:36 +08:00
Michel Oosterhof 2fd7a20076
Tox fixes (#1371)
* pin versions for dev software

* run lint in py37, not py27

* more pur for other requirements files
2020-07-03 15:24:45 +08:00
Michel Oosterhof 4beccf24c6
remove libvirt from tox (#1353) 2020-05-15 11:04:52 +08:00
Michel Oosterhof b8e0df92f6
remove py34 support from tox (#1347) 2020-05-05 10:52:10 +08:00
Michel Oosterhof 1f564c3803
more py versions (#1206)
* py versions
* allow failure for nightly/dev
2019-09-12 08:22:55 +01:00
Guilherme Borges aeba97b4cc
Add a pool of backends for the proxy (#1181)
* add pool configs

* add pool interface from proxy branch

* add support for pool initialisation in plugin

* add pool to telnet

* backend pool as service

* move libvirt backend to own dir

* add NAT settings

* add guest backend config

* check for telnet in nmap if ssh is disabled

* add pool periodic cleanup

* add developer guide for backend pool

* add proxy documentation

* add backend pool docs

* docs on XML configs

* add method to check guest connectivity

* add telnet exec class

* update circle deps

* add tox libvirt dep
2019-08-26 12:11:58 +01:00
Michel Oosterhof 3c99ed531b
more tox (#1125) 2019-05-12 21:38:49 +04:00
Michel Oosterhof a1324ddac0
Tox (#1123)
* tox
2019-05-12 19:40:45 +04:00