From 22041cf62bc73ea2a22c1b9a2d8b908ef99c2b7a Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Mon, 28 Oct 2024 22:50:47 +0100 Subject: [PATCH] Cleanup travis, flake8 in tox.ini, pylintrc, requirements.txt --- .pylintrc | 0 .travis.yml | 38 -------------------------------------- requirements.txt | 0 tox.ini | 6 ------ 4 files changed, 44 deletions(-) delete mode 100644 .pylintrc delete mode 100644 .travis.yml delete mode 100644 requirements.txt diff --git a/.pylintrc b/.pylintrc deleted file mode 100644 index e69de29b..00000000 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3d0964d6..00000000 --- a/.travis.yml +++ /dev/null @@ -1,38 +0,0 @@ -language: python -jobs: - fast_finish: true - include: - - name: "Python 3.7.4 on macOS" - os: osx - osx_image: xcode11.2 # Python 3.7.4 running on macOS 10.14.4 - language: shell # 'language: python' is an error on Travis CI macOS - before_install: - - brew install --cask mactex - - brew install gettext - - brew link gettext --force - - name: "Python 3.8.0 on Windows" - os: windows # Windows 10.0.17134 N/A Build 17134 - language: shell # 'language: python' is an error on Travis CI Windows - before_install: - - choco install python --version 3.8.0 - - choco install miktex.portable - - python -m pip install --upgrade pip - env: PATH=/c/Python38:/c/Python38/Scripts:$PATH - allow_failures: - - name: "Python 3.8.0 on Windows" - os: windows # Windows 10.0.17134 N/A Build 17134 - language: shell # 'language: python' is an error on Travis CI Windows - before_install: - - choco install python --version 3.8.0 - - choco install miktex.portable - - python -m pip install --upgrade pip - env: PATH=/c/Python38:/c/Python38/Scripts:$PATH - -install: - - pip3 install --editable ".[dev]" -script: - - python3 manage.py test -after_success: - - coverage run --source=survey --omit=survey/migrations/* ./manage.py test - - coverage html - - coveralls diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/tox.ini b/tox.ini index 0ca7a32f..25668caf 100644 --- a/tox.ini +++ b/tox.ini @@ -20,9 +20,3 @@ deps = pyyaml>=4.2b1 pySankeyBeta~=1.3.0 django-rosetta - -[testenv:flake8] -basepython = python3 -deps = flake8==6.0.0 -commands= - flake8 {toxinidir}/survey