Add `dev-requirements.txt` for pip
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 10 Sep 2020 14:51:07 +0000 (10:51 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Thu, 10 Dec 2020 15:18:30 +0000 (10:18 -0500)
`dev-requirements.txt` contains which specific version of Black and
Flake8 to use for development and by a CI so that both parties agree.

Use specific versions as such:

    $ virtualenv -p python3 yo
    $ . yo/bin/activate
    $ pip install -r dev-requirements.txt

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Id29e7f61c4038b55bed613e00f76f7c180699fa9
Reviewed-on: https://review.lttng.org/c/babeltrace/+/4057
CI-Build: Michael Jeanson <mjeanson@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
dev-requirements.txt [new file with mode: 0644]

diff --git a/dev-requirements.txt b/dev-requirements.txt
new file mode 100644 (file)
index 0000000..8a6bc81
--- /dev/null
@@ -0,0 +1,2 @@
+black == 20.8b1
+flake8 >= 3.8
This page took 0.02477 seconds and 4 git commands to generate.