Merge pull request #139 from pre-commit/no_py33

Drop py33, add py35
This commit is contained in:
Anthony Sottile 2016-08-22 14:52:13 -07:00 committed by GitHub
commit 09d1747840
8 changed files with 8 additions and 36 deletions

View file

@ -1,8 +1,9 @@
language: python language: python
python: 3.5
env: # These should match the tox env list env: # These should match the tox env list
- TOXENV=py27 - TOXENV=py27
- TOXENV=py33
- TOXENV=py34 - TOXENV=py34
- TOXENV=py35
- TOXENV=pypy - TOXENV=pypy
- TOXENV=pypy3 - TOXENV=pypy3
install: pip install coveralls tox install: pip install coveralls tox

View file

@ -1,10 +1,10 @@
environment: environment:
matrix: matrix:
- TOXENV: py27 - TOXENV: py27
- TOXENV: py34 - TOXENV: py35
install: install:
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%" - "SET PATH=C:\\Python35;C:\\Python35\\Scripts;%PATH%"
- pip install tox - pip install tox
# Not a C# project # Not a C# project

View file

@ -4,7 +4,7 @@ from __future__ import unicode_literals
import argparse import argparse
import os import os
from six.moves import configparser # pylint: disable=import-error from six.moves import configparser
def get_your_keys(credentials_file): def get_your_keys(credentials_file):

View file

@ -1,22 +0,0 @@
[MESSAGES CONTROL]
disable=bad-open-mode,invalid-name,missing-docstring,redefined-outer-name,star-args,locally-disabled,locally-enabled
[REPORTS]
output-format=colorized
reports=no
[BASIC]
const-rgx=(([A-Za-z_][A-Za-z0-9_]*)|(__.*__))$
[FORMAT]
max-line-length=131
[TYPECHECK]
ignored-classes=pytest
[DESIGN]
min-public-methods=0
[SIMILARITIES]
min-similarity-lines=5
ignore-imports=yes

View file

@ -1,9 +1,7 @@
-e . -e .
astroid<1.3.3
coverage coverage
flake8 flake8
mock mock
pre-commit pre-commit
pylint<1.4
pytest pytest

View file

@ -11,20 +11,19 @@ setup(
author='Anthony Sottile', author='Anthony Sottile',
author_email='asottile@umich.edu', author_email='asottile@umich.edu',
platforms='linux',
classifiers=[ classifiers=[
'License :: OSI Approved :: MIT License', 'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy', 'Programming Language :: Python :: Implementation :: PyPy',
], ],
packages=find_packages('.', exclude=('tests*', 'testing*')), packages=find_packages(exclude=('tests*', 'testing*')),
install_requires=[ install_requires=[
# quickfix to prevent pep8 conflicts # quickfix to prevent pep8 conflicts
'flake8!=2.5.3', 'flake8!=2.5.3',

View file

@ -12,9 +12,6 @@ from testing.util import get_resource_path
from testing.util import write_file from testing.util import write_file
# pylint:disable=unused-argument
@pytest.yield_fixture @pytest.yield_fixture
def f1_is_a_conflict_file(tmpdir): def f1_is_a_conflict_file(tmpdir):
# Make a merge conflict # Make a merge conflict

View file

@ -1,7 +1,7 @@
[tox] [tox]
project = pre_commit_hooks project = pre_commit_hooks
# These should match the travis env list # These should match the travis env list
envlist = py27,py33,py34,pypy,pypy3 envlist = py27,py34,py35,pypy,pypy3
[testenv] [testenv]
deps = -rrequirements-dev.txt deps = -rrequirements-dev.txt
@ -12,7 +12,6 @@ commands =
coverage report --show-missing --fail-under 100 coverage report --show-missing --fail-under 100
pre-commit install -f --install-hooks pre-commit install -f --install-hooks
pre-commit run --all-files pre-commit run --all-files
pylint {[tox]project} testing tests setup.py
[testenv:venv] [testenv:venv]
envdir = venv-{[tox]project} envdir = venv-{[tox]project}