Commit Graph

119 Commits

Author SHA1 Message Date
Thomas Kriechbaumer
82b5d61456 revert some minor changes 2020-11-21 10:46:19 +01:00
Thomas Kriechbaumer
67b3ee1307 semver bump 2020-10-06 22:45:58 +02:00
Maximilian Hils
54276f0eea update dependencies 2020-08-27 11:00:31 +02:00
Maximilian Hils
385cddf2b4 update pyinstaller 2020-08-27 10:50:53 +02:00
Maximilian Hils
997b496a68 update flake8 and mypy 2020-08-26 23:33:15 +02:00
Maximilian Hils
b52e093ae2
increase pytest verbosity harder to catch flaky test 2020-08-06 21:55:37 +02:00
Maximilian Hils
ab1e607c70 increase pytest verbosity to catch flaky test 2020-07-30 09:23:41 +02:00
Thomas Kriechbaumer
04abe6b85b match HTTP-WebSocket handshake flow with ~websocket
fixes #3990
2020-07-16 17:49:47 +02:00
Thomas Kriechbaumer
55527c00eb docs: rename docs scripts and improve template 2020-04-11 12:25:56 +02:00
Maximilian Hils
9d5305301a Merge remote-tracking branch 'origin/master' into fix-ci 2020-04-08 20:21:12 +02:00
Maximilian Hils
78cdfa45d7 fix pyinstaller 2020-04-03 17:50:15 +02:00
Maximilian Hils
623055a25a bump dependencies 2020-04-03 17:50:15 +02:00
Thomas Kriechbaumer
40925181e9 re-add missing CI steps and fix linting 2019-12-31 16:27:22 +01:00
Maximilian Hils
e92b957e3a
Use Github Actions for CI (#3713)
switch to github actions for CI
2019-11-19 18:15:08 +01:00
Maximilian Hils
ac22aee2f5 cleanup mypy usage 2019-11-16 15:14:30 +01:00
Thomas Kriechbaumer
ace79afefc bump more deps 2019-09-28 23:29:13 +02:00
Thomas Kriechbaumer
b4ffc929a2 bump dependencies 2019-09-28 14:49:14 +02:00
Maximilian Hils
0e096137d5 update pyinstaller 2019-07-17 22:24:38 +02:00
Thomas Kriechbaumer
2fb2b48a06 bump dependencies 2018-12-02 15:48:20 +01:00
Thomas Kriechbaumer
1413958a67 fix syntax-error on older python interpreters 2018-06-08 08:31:48 +02:00
Maximilian Hils
09ff5df2fb Such CI, Very Wow. (#3182) 2018-06-02 21:37:44 +02:00
Aldo Cortesi
bae4a3393f release: include release directory in coverage
With lots of exclusions for now
2018-05-24 19:03:15 +12:00
Thomas Kriechbaumer
46960fa080 add docker to the main repository 2018-05-19 12:38:44 +02:00
Thomas Kriechbaumer
2bbfcfae92 improve release workflow 2018-05-17 18:28:43 +02:00
Thomas Kriechbaumer
6478523913 test on Python 3.7-dev 2018-05-13 09:56:32 +02:00
Thomas Kriechbaumer
46f8901b8c Python 3.5 is dead -- long live Python 3.6!
fixes #2266
2018-03-31 18:46:32 +02:00
Thomas Kriechbaumer
f6699792da docs: add auto-generated options reference 2018-03-25 13:42:55 +02:00
Aldo Cortesi
380e4bc14d release: don't upload assets for PRs from the main repo 2018-03-08 08:06:03 +13:00
Aldo Cortesi
f72d91672e release: build wheel 2018-03-07 21:36:17 +13:00
Aldo Cortesi
f8cce32562 release: shift appveyor to new process
In the process also move to InstallBuilder 18.2
2018-03-07 20:52:03 +13:00
Aldo Cortesi
fc23deb9f3 release: revamped release upload process 2018-03-07 11:40:45 +13:00
Aldo Cortesi
982508d30f All new documentation
This patch does a lot.

- Ditch sphinx in favor of hugo. This gives us complete control of the layout
and presentation of our docs. Henceforth, docs will be hosted on our website
rather than ReadTheDocs.
- Create a simple, clean doc layout and theme.
- Remove large parts of the documentaion. I've ditched anything that was a)
woefully out of date, b) too detailed, or c) too hard to maintain in the long
term.
- Huge updates to the docs themselves: completely rewrite addons documentation,
add docs for core concepts like commands and options, and revise and tweak a
lot of the existing docs.

With this patch, we're also changing the way we publish and maintain the docs.
From now on, we don't publish docs for every release. Instead, the website will
contain ONE set of docs for each major release. The online docs will be updated
if needed as minor releases are made. Docs are free to improve during minor
releases, but anything that changes behaviour sufficiently to require a doc
change warrants a new major release. This also leaves us free to progressively
update and improve docs out of step with our release cadence.

With this new scheme, I feel CI over the docs is less important. I've removed
it for now, but won't object if someone wants to add it back in.
2018-02-22 18:07:58 +13:00
Arushit Mudgal
91834f98cc Extend mypy checking, fix #2194 (#2819) 2018-02-03 21:37:33 +01:00
Maximilian Hils
09f6160645 pin snapshot server hostkey, update pysftp 2018-01-04 14:12:30 +01:00
Maximilian Hils
937a849c93 rtool: include dev version in binaries 2017-12-29 22:57:37 +01:00
Maximilian Hils
749099e292 tox.ini: python3 -> python
"python3" points to a different binary... on Windows, at least.
2017-12-29 22:57:01 +01:00
Maximilian Hils
7075f4dfec remove rtool's setup.py, embrace tox 2017-12-29 22:56:11 +01:00
Maximilian Hils
127cfa689a make sure that mitmproxy/rtool dependencies don't clash 2017-12-26 19:21:43 +01:00
Maximilian Hils
f37bd89433 update pyinstaller 🙏 2017-12-26 18:47:42 +01:00
Aldo Cortesi
fd68eca351 Keep emojis out of tox.ini
This breaks config parsers like the one used by flake8. Also... emojis? In a
config file?
2017-06-11 16:18:40 +12:00
Ujjwal Verma
5833b218b2 Increase net.tcp.py coverage (#2336) 2017-05-17 23:27:57 +08:00
harsh vijay
e24b4cc1b6 Extend Mypy checking to pathod
* mypy checking pathod

* initial commit , fixed errors

* tox: mypy checking to pathod

* Fixed mypy test failed

* issue was with args in custom_contentview.py

* tox: mypy checking to #2221

* follow-import=skip since we cant provide args to custom_contentview.py during mypy testing

* Lint , Typo Fixed

* code style: module import
2017-05-02 05:19:25 +05:30
Aldo Cortesi
95d9ec88ac tox: mypy checking for entire codebase
Also fix a few linting errors.
2017-03-22 10:29:46 +13:00
Aldo Cortesi
5192810ff6 Make mypy succeed with imports on master.py
We get little benefit from our mypy QA checks at the moment, because we skip
imports. This patch is what's needed to make mypy succeed with imports on a
single file: master.py

It also updates mypy to the current version, and enables a QA check.

Mypy bugs I encountered:

dict.update with kwargs not supported:

https://github.com/python/mypy/issues/1031

property setters and getters must be adjacent:

https://github.com/python/mypy/issues/1465
2017-03-17 08:13:47 +13:00
Aldo Cortesi
f15a628561 Start unifying options and the command-line: booleans
This commit:

- Adds a help field to options
- Adds a function to generate parser definitions from options
- Uses this to migrate all boolean flags over to the new system
- Makes all booleans consistently follow the --foo/--not-foo convention

There are a number of things left to be done here:

- Argparse doesn't give us a nice way to format --foo --not-foo help. Click
does, and moving to click is a goal down the track.
- For now, we remove all short aliases. I want to re-evaluate these
systematically once we have the new structure in place.
2017-03-05 20:16:33 +13:00
Thomas Kriechbaumer
6b22ca7a32 add individual-coverage check 2017-02-16 11:43:45 +01:00
Thomas Kriechbaumer
24a51df9cb extract full-coverage pytest plugin 2017-02-15 00:29:43 +01:00
Thomas Kriechbaumer
04748e6f3f add filename-matching linter 2017-02-14 22:48:24 +01:00
Thomas Kriechbaumer
cd9cd8a195 update lint options 2017-02-14 22:44:55 +01:00
Thomas Kriechbaumer
c8c79cc291 coverage++ 2017-02-10 22:55:15 +01:00