Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Sep 4, 2018
2 parents 8888a72 + 5633116 commit 5b417e0
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ ignore =
W191
# W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513
W503
# W504 has issues https://github.com/OCA/maintainer-quality-tools/issues/545
W504
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
dist: xenial
sudo: false
language: python

python:
- 2.7
- &latest_py3 3.6
- 3.6
- &latest_py3 3.7

jobs:
fast_finish: true
Expand All @@ -23,11 +25,15 @@ jobs:
secure: shK8GEX9tEBfC0h/NoQfz/36AQOXL4U9a4Bl8NxiOJRNcnJpyFjHHPFKc8lzZ9McVltRqAMbdPWqkqOQquuTjM+dTaD5S+DxDnJU0lJbatrHE4gS8jMoJKLotYX/NRup72vzYQyXq1QjMNSf1lrVf8ASqaaUlMwubKUQd0D1OmY57/3CGbqhSnrmhZ5aSwZ7sy289Gk9Il06VXpqhJ6rBiCVtYJdPccu6oYBidE7KH0VhEC132wA8G8onT2jc22CSGpwIrtR8IQxL/B9d4ycAUulpMCXM0a77I5pWpJO8minPBKQD6TWwt3hsn6e1DoKv6gpSOZg4BYD4vxmNVby2vAxwNu0AaQxCdT5i2q6ow2EdCX2G7FN587pbCNKMqZi7CNCxqqE0gO0MacXl6LoP8Om08FIzxytDMDj1Qk+dHr8GAy9dS+iiAARpY47q/uNDQ6MuNvMCrzyjfBmLpmTm6xnkoSFEwTY1d4vjo7QMzzSXbIt/JxiH9ZFD3TtZnbNNZAok7IpRLz7tKMkslsH9DfI5E3/L4+36UNZgsMXc9FyOkkGOS6UphWoKipGfd7A6nMgMTBD8tJ7KdP28266ecvI/W0DGRoRikKkWhPX7U/NA6mLmva0NiOFuMSNXwbvJVYlzZyIp1xG0ERuxUoj9suVBn+hPLn4SoN4PQbthdM=
distributions: dists
skip_cleanup: true
skip_upload_docs: true

cache: pip

install:
- pip install tox tox-venv

before_script:
# Disable IPv6. Ref travis-ci/travis-ci#8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
script: tox
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
),
replace=[
dict(
pattern=r'(Issue )?#(?P<issue>\d+)',
pattern=r'(Issue #|\B#)(?P<issue>\d+)',
url='{package_url}/issues/{issue}',
),
dict(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "setuptools_scm>=1.15"]
requires = ["setuptools>=30.3", "wheel", "setuptools_scm>=1.15"]
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[aliases]
release = dists upload
dists = clean --all sdist bdist_wheel

[bdist_wheel]
universal = 1

[metadata]
license_file = LICENSE
long_description = file:README.rst
8 changes: 1 addition & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@

# Project skeleton maintained at https://github.com/jaraco/skeleton

import io

import setuptools

with io.open('README.rst', encoding='utf-8') as readme:
long_description = readme.read()

name = 'jaraco.itertools'
description = ''
nspkg_technique = 'managed'
Expand All @@ -23,7 +18,6 @@
author="Jason R. Coombs",
author_email="jaraco@jaraco.com",
description=description or name,
long_description=long_description,
url="https://github.com/jaraco/" + name,
packages=setuptools.find_packages(),
include_package_data=True,
Expand All @@ -40,7 +34,7 @@
extras_require={
'testing': [
# upstream
'pytest>=3.5',
'pytest>=3.5,!=3.7.3',
'pytest-sugar>=0.9.1',
'collective.checkdocs',
'pytest-flake8',
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ minversion = 2.4
[testenv]
deps =
setuptools>=31.0.1
# workaround for yaml/pyyaml#126
# git+https://github.com/yaml/pyyaml@master#egg=pyyaml;python_version=="3.7"
commands =
py.test {posargs}
pytest {posargs}
python setup.py checkdocs
usedevelop = True
extras = testing
Expand Down

0 comments on commit 5b417e0

Please sign in to comment.