From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 50922138334 for ; Tue, 14 Aug 2018 16:01:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7CF7E091D; Tue, 14 Aug 2018 16:01:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 822DDE091D for ; Tue, 14 Aug 2018 16:01:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 74846335CC2 for ; Tue, 14 Aug 2018 16:01:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B38433A7 for ; Tue, 14 Aug 2018 16:01:08 +0000 (UTC) From: "Virgil Dupras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Virgil Dupras" Message-ID: <1534254081.fdd23db536034e4e13fe2121ff155d9151744b45.vdupras@gentoo> Subject: [gentoo-commits] proj/gentoolkit:master commit in: / X-VCS-Repository: proj/gentoolkit X-VCS-Files: .gitignore tox.ini X-VCS-Directories: / X-VCS-Committer: vdupras X-VCS-Committer-Name: Virgil Dupras X-VCS-Revision: fdd23db536034e4e13fe2121ff155d9151744b45 X-VCS-Branch: master Date: Tue, 14 Aug 2018 16:01:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d12d4fed-506c-4723-baa4-816b3ccf35b9 X-Archives-Hash: 05e0c9a261cb38ad4e98c81e4a569d51 commit: fdd23db536034e4e13fe2121ff155d9151744b45 Author: Virgil Dupras hardcoded net> AuthorDate: Tue Aug 14 13:41:21 2018 +0000 Commit: Virgil Dupras gentoo org> CommitDate: Tue Aug 14 13:41:21 2018 +0000 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=fdd23db5 Add tox.ini The goal is for the `tox` command to be the only command to run to verify the quality of the code before a commit. .gitignore | 1 + tox.ini | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/.gitignore b/.gitignore index 3b6d6ef..63ee53f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ build __pycache__ *.py[c,o] dist +/.tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..b7bcbdb --- /dev/null +++ b/tox.ini @@ -0,0 +1,15 @@ +[tox] +envlist = py27,py35,py36,py37,pyflakes +skip_missing_interpreters = True + +[testenv] +commands = + python setup.py test +sitepackages = True + +[testenv:pyflakes] +deps = + pyflakes +commands = + pyflakes pym +sitepackages = False