Commit Graph

194 Commits

Author SHA1 Message Date
Louis Sautier bf6b5c0ed9
List setuptools under install_requires 2021-07-21 01:00:13 +02:00
Thomas Grainger f237b84aad
Merge pull request #71 from graingert/configure-pre-commit 2021-03-23 22:57:32 +00:00
Thomas Grainger 00dc5439ca
apply pipx run black --experimental-string-processing src
it should fix up those nasty implicit string concatentations
eg ("foo" "bar") on one line, but is a bit too dangerous to
run every time
2021-03-23 00:33:38 +00:00
Thomas Grainger 480ead1ab8
fix flake8 errors 2021-03-23 00:26:55 +00:00
Thomas Grainger 3ac62cbc9c
apply pre-commit 2021-03-23 00:26:55 +00:00
Thomas Grainger 6a8dfb6424
configure pre-commit 2021-03-23 00:26:54 +00:00
Thomas Grainger 370e16b117
Merge pull request #69 from graingert/add-type-annotations
add mypy annotations
2021-03-22 20:23:46 +00:00
Thomas Grainger 2c4dc93dd0
remove duplicate py38 black target-version 2021-03-22 19:54:44 +00:00
Thomas Grainger a7f2639171
use sys.version_info <= (3,) 2021-03-22 18:47:41 +00:00
Thomas Grainger 6c12383b33
define _cmp using sys.version_info conditional
avoids a hack with if TYPE_CHECKING
2021-03-22 18:46:35 +00:00
Thomas Grainger 17d71408fb
comment why we're redefining FilePath type 2021-03-22 18:40:17 +00:00
Thomas Grainger 7f1f4bf0a4
test parsing a version with a major and minor version 2021-03-21 22:39:48 +00:00
Thomas Grainger 4b1731e89f
test all _inf comparison operators 2021-03-21 22:22:04 +00:00
Thomas Grainger 9ca83a9572
test the NotImplemented Version comparison operations 2021-03-21 22:08:30 +00:00
Thomas Grainger deaf46cc62
remove redundant comparisons/branches from _Inf
`__eq__` and `__ne__` can use the default `object.__eq__`/`object.__ne__`
2021-03-21 21:56:17 +00:00
Thomas Grainger 0d6cefdb16
exclude TYPE_CHECKING from coverage 2021-03-21 21:33:49 +00:00
Thomas Grainger 0794441cc7
clean up formatting from black magic trailing comma 2021-03-21 15:36:57 +00:00
Thomas Grainger 2861707f42
use a type: ignore rather than 'if not TYPE_CHECKING'
this seems like some impossible py2/py3 str/bytes/unicode impossible
scenario
2021-03-21 15:36:56 +00:00
Thomas Grainger 1a743aef05
configure black for py27 and py36-py38 2021-03-21 15:36:56 +00:00
Thomas Grainger 3958152f86
add py.typed to wheel 2021-03-21 15:36:56 +00:00
Thomas Grainger e1fbe9b712
include py.typed in sdist 2021-03-21 15:36:56 +00:00
Thomas Grainger a30fda6f47
building the wheel requires typing 2021-03-21 15:36:55 +00:00
Thomas Grainger cb6ce9c1da
add mypy travis factor 2021-03-21 15:36:55 +00:00
Thomas Grainger 5b33095b00
add type annotations 2021-03-21 15:36:55 +00:00
Thomas Grainger 79e00d6b6a
Merge pull request #63 from graingert/upgrade-to-declarative-setuptools 2021-03-21 15:36:15 +00:00
Thomas Grainger c2d9df756c
add more py trove classifiers
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2021-03-21 15:22:12 +00:00
Thomas Grainger 6a4a512948
Merge branch 'master' of git://github.com/twisted/incremental into upgrade-to-declarative-setuptools 2021-03-21 15:21:03 +00:00
Thomas Grainger 1dc4dc97b7
Merge pull request #70 from graingert/test-on-more-python-versions
test on more python versions
2021-03-21 15:04:35 +00:00
Thomas Grainger 142b4fa177
drop py3.4 from travis
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/ubuntu/18.04/x86_64/python-3.4.tar.bz2

$ curl -sSf --retry 5 -o python-3.4.tar.bz2 ${archive_url}

curl: (22) The requested URL returned error: 404 

travis_time🔚
2021-03-21 14:56:19 +00:00
Thomas Grainger b3cdae21af
fix env: TOX_ENV=apidocs travis.yml typo 2021-03-21 14:52:10 +00:00
Thomas Grainger 9a891cb6de
test on more python versions 2021-03-21 14:48:59 +00:00
Thomas Grainger 3923a3550c
restore setuptools setup.py shim 2021-03-21 14:06:27 +00:00
Thomas Grainger db90997286
use the best possible setuptools and wheel for py2.7 currently 2021-03-21 13:56:44 +00:00
Thomas Grainger 55d8a117a1
The [wheel] section is deprecated. Use [bdist_wheel] instead. 2021-03-20 15:37:13 +00:00
Thomas Grainger 4f1376f4fd
configure isolated builds, with declarative setuptools 2021-03-20 15:37:12 +00:00
Thomas Grainger 25aca8f56b
apply setup-py-upgrade 2021-03-20 15:28:44 +00:00
Craig Rodrigues 8fceca84f4
Merge pull request #68 from twisted/update-news
Update NEWS for 21.3.0
2021-03-01 17:55:10 -08:00
Craig Rodrigues b55e687cb7 Update NEWS for 21.3.0 2021-03-01 17:40:45 -08:00
Craig Rodrigues acaf88f2a3
Merge pull request #67 from twisted/21.3.0
Bump version to 21.3.0
2021-03-01 15:18:06 -08:00
Craig Rodrigues 0f8be2a9b4 Bump version to 21.3.0 2021-03-01 13:46:11 -08:00
Craig Rodrigues 38af4b81db
Merge pull request #65 from twisted/short-description
Add short description to package metadata
2021-03-01 12:13:31 -08:00
Craig Rodrigues 2a9aba7e98 Update travis environment 2021-03-01 11:35:18 -08:00
Maarten ter Huurne 88646de2ab Add short description to package metadata
Without this, the package summary reads "UNKNOWN".
2021-03-01 11:35:12 -08:00
Craig Rodrigues f17f0b32e9
Merge pull request #64 from rodrigc/reformat-with-black
Replace flake8 with black, and reformat tree with black
2020-10-18 20:29:53 -07:00
Craig Rodrigues 24644e3372 Reformat with black 2020-10-18 20:11:04 -07:00
Craig Rodrigues 72caa88a54 Replace flake8 with black
Remove tox dependencies on py27, py35, py36
2020-10-18 20:09:59 -07:00
Craig Rodrigues fdfe7f6eef
Merge pull request #60 from rodrigc/black-compatible
Make the output of incremental compatible with black formatting tool
2020-10-18 20:08:18 -07:00
Craig Rodrigues bd18675832 Use format() for the version template 2020-10-18 19:43:19 -07:00
Craig Rodrigues d39aa3c74a repr() returns single quotes, but we must replace those with double
quotes to be compatible with black
2020-10-18 19:43:19 -07:00
Craig Rodrigues 3d8b35bebe Use double quotes, to be compatible with black 2020-10-18 19:43:15 -07:00