]> git.ipfire.org Git - thirdparty/jinja.git/log
thirdparty/jinja.git
6 years agoclean up groupby filter docs 956/head
David Lord [Tue, 23 Jul 2019 21:48:41 +0000 (14:48 -0700)] 
clean up groupby filter docs

6 years agoclarify groupby behavior in docs
Roy Revelt [Sat, 9 Mar 2019 11:23:39 +0000 (11:23 +0000)] 
clarify groupby behavior in docs

6 years agoMerge pull request #923 from CleoQc/feature/long_integer_with_underscores
David Lord [Tue, 23 Jul 2019 18:11:28 +0000 (11:11 -0700)] 
Merge pull request #923 from CleoQc/feature/long_integer_with_underscores

Feature/long integer with underscores

6 years agoclean up numeric underscore support 923/head
David Lord [Tue, 23 Jul 2019 18:07:09 +0000 (11:07 -0700)] 
clean up numeric underscore support

add changelog
clean up docs
parametrize tests
explain float regex

6 years agosupport underscore in int and float
CleoQc [Tue, 13 Nov 2018 00:43:13 +0000 (19:43 -0500)] 
support underscore in int and float

6 years agoMerge pull request #922 from CleoQc/feature/support_scientific_notation
David Lord [Tue, 23 Jul 2019 15:35:15 +0000 (08:35 -0700)] 
Merge pull request #922 from CleoQc/feature/support_scientific_notation

Feature/support scientific notation

6 years agoclean up scientific notation support 922/head
David Lord [Tue, 23 Jul 2019 15:19:51 +0000 (08:19 -0700)] 
clean up scientific notation support

add changelog
clean up docs
parametrize tests

6 years agosupport scientific notation
CleoQc [Mon, 12 Nov 2018 18:56:41 +0000 (13:56 -0500)] 
support scientific notation

6 years agoMerge pull request #961 from JulienPalard/TemplateNotFound
David Lord [Mon, 22 Jul 2019 17:50:37 +0000 (10:50 -0700)] 
Merge pull request #961 from JulienPalard/TemplateNotFound

Better repr for TemplateNotFound.

6 years agoMerge pull request #994 from bkiu/931-undeclared-variables
David Lord [Mon, 22 Jul 2019 17:46:50 +0000 (10:46 -0700)] 
Merge pull request #994 from bkiu/931-undeclared-variables

exclude globals from find_undeclared_variables

6 years agoexclude globals from find_undeclared_variables 994/head
Brendan [Tue, 7 May 2019 16:00:06 +0000 (12:00 -0400)] 
exclude globals from find_undeclared_variables

6 years agoMerge pull request #985 from bkiu/557-map-default
David Lord [Mon, 22 Jul 2019 17:39:23 +0000 (10:39 -0700)] 
Merge pull request #985 from bkiu/557-map-default

Adding a default parameter to builtin map filter

6 years agoMerge branch 'master' into 557-map-default 985/head
David Lord [Mon, 22 Jul 2019 16:45:20 +0000 (09:45 -0700)] 
Merge branch 'master' into 557-map-default

6 years agoAdding a default parameter to builtin map filter
Brendan [Mon, 6 May 2019 15:49:48 +0000 (11:49 -0400)] 
Adding a default parameter to builtin map filter

6 years agoMerge pull request #990 from tbnorth/vim_syntax_tweak
David Lord [Mon, 22 Jul 2019 14:55:11 +0000 (07:55 -0700)] 
Merge pull request #990 from tbnorth/vim_syntax_tweak

This is the correct thing to do, vim-wise, although whether

6 years agoMerge pull request #1018 from kbiggers/jinja/557
David Lord [Mon, 22 Jul 2019 14:42:04 +0000 (07:42 -0700)] 
Merge pull request #1018 from kbiggers/jinja/557

add default to map filter

6 years agoadd default to map filter 1018/head
Kevin [Fri, 31 May 2019 17:59:01 +0000 (13:59 -0400)] 
add default to map filter

6 years agoMerge pull request #1014 from markroth8/mroth/fix/748
David Lord [Sat, 20 Jul 2019 21:23:53 +0000 (14:23 -0700)] 
Merge pull request #1014 from markroth8/mroth/fix/748

Allow '{%+' to be valid syntax (but NOP) when lstrip_blocks == False. Fixes #748

6 years agoAllow '{%+' to be valid syntax (but NOP) when lstrip_blocks == False. Fixes #748. 1014/head
Mark Roth [Fri, 31 May 2019 22:52:45 +0000 (18:52 -0400)] 
Allow '{%+' to be valid syntax (but NOP) when lstrip_blocks == False. Fixes #748.

6 years agoMerge pull request #1022 from jdufresne/hl
David Lord [Sat, 20 Jul 2019 21:14:41 +0000 (14:14 -0700)] 
Merge pull request #1022 from jdufresne/hl

Correct syntax highlighting of jinja block in docs

6 years agoCorrect syntax highlighting of jinja block in docs 1022/head
Jon Dufresne [Fri, 21 Jun 2019 20:25:28 +0000 (13:25 -0700)] 
Correct syntax highlighting of jinja block in docs

6 years agoMerge branch '2.10.x'
David Lord [Sat, 20 Jul 2019 21:03:04 +0000 (14:03 -0700)] 
Merge branch '2.10.x'

6 years agoMerge pull request #1030 from rillian/PytestUnknownMarkWarning
David Lord [Sat, 20 Jul 2019 20:58:04 +0000 (13:58 -0700)] 
Merge pull request #1030 from rillian/PytestUnknownMarkWarning

Fix pytest unknown mark warnings

6 years agowarnings are errors during tests 1030/head
David Lord [Sat, 20 Jul 2019 20:56:23 +0000 (13:56 -0700)] 
warnings are errors during tests

6 years agoRegister custom test category markers.
Ralph Giles [Thu, 4 Jul 2019 20:24:51 +0000 (13:24 -0700)] 
Register custom test category markers.

Since around pytest 3.6 it's been possible to register custom
markers, and since version 4.5.0 pytest warns about any which
are not registered. Register a list of such markers, extracted
from those warnings, so they don't clutter the test output.

6 years agoignore coverage parse errors
David Lord [Sat, 20 Jul 2019 20:52:19 +0000 (13:52 -0700)] 
ignore coverage parse errors

Azure has Python 2.7.15 and Python 3.5.5, which can't parse async code.
Later patch versions can parse it fine, so this can be removed if
Azure updates.

6 years agoswitch tests to azure pipelines
David Lord [Sat, 20 Jul 2019 19:44:26 +0000 (12:44 -0700)] 
switch tests to azure pipelines

6 years agoMerge pull request #1025 from pallets/unpin-pytest
David Lord [Sat, 20 Jul 2019 19:22:17 +0000 (12:22 -0700)] 
Merge pull request #1025 from pallets/unpin-pytest

Unpin Pytest on master branch

6 years agostandardize license
David Lord [Wed, 17 Jul 2019 15:01:46 +0000 (08:01 -0700)] 
standardize license

6 years agoMerge pull request #1031 from minho42/Fix-typo
Joshua Bronson [Sun, 7 Jul 2019 15:36:01 +0000 (11:36 -0400)] 
Merge pull request #1031 from minho42/Fix-typo

Fix typo

6 years agoFix line length 1031/head
Min ho Kim [Sun, 7 Jul 2019 14:12:52 +0000 (00:12 +1000)] 
Fix line length

6 years agoApply suggestions
Min ho Kim [Sun, 7 Jul 2019 13:07:29 +0000 (23:07 +1000)] 
Apply suggestions

6 years agoFix typo
Min ho Kim [Sat, 6 Jul 2019 23:38:28 +0000 (09:38 +1000)] 
Fix typo

6 years agoMerge pull request #975 from kevbroch/master
Kevin Brown [Tue, 25 Jun 2019 00:37:30 +0000 (20:37 -0400)] 
Merge pull request #975 from kevbroch/master

add list filter to make example match output

6 years agoMerge pull request #1002 from eplata31/bugfix-template-parse-if-with-dict-subproperty
Kevin Brown [Tue, 25 Jun 2019 00:32:11 +0000 (20:32 -0400)] 
Merge pull request #1002 from eplata31/bugfix-template-parse-if-with-dict-subproperty

BUGFIX #930 - Template parse if with when referencing with dictionary…

6 years agoMerge pull request #1013 from mayuropensource/jinja-670-sort-multi-attr
Kevin Brown [Tue, 25 Jun 2019 00:19:36 +0000 (20:19 -0400)] 
Merge pull request #1013 from mayuropensource/jinja-670-sort-multi-attr

Add ability to specify multiple attributes in sort

6 years agoUnpin pytest in tox.ini 1025/head
Kevin Brown [Tue, 25 Jun 2019 00:07:01 +0000 (20:07 -0400)] 
Unpin pytest in tox.ini

This was "temporarily" pinned many months back, given that this is not pinned on the stable branch and tests appear to be passing, we should be able to remove it here.

6 years agoMerge pull request #1021 from jdufresne/the-the
Joshua Bronson [Fri, 21 Jun 2019 23:47:51 +0000 (19:47 -0400)] 
Merge pull request #1021 from jdufresne/the-the

Fix typo "the the"

6 years agoFix typo "the the" 1021/head
Jon Dufresne [Fri, 21 Jun 2019 18:24:08 +0000 (11:24 -0700)] 
Fix typo "the the"

6 years agoMerge pull request #1019 from jbarreneche/backport-python3.7-collections-warning-fix
David Lord [Tue, 18 Jun 2019 15:22:01 +0000 (08:22 -0700)] 
Merge pull request #1019 from jbarreneche/backport-python3.7-collections-warning-fix

Backport python3.7 collections warning fix

6 years agoAdd python 3.7 deprecation warning fix to changelog 1019/head
Juan Barreneche [Tue, 18 Jun 2019 13:51:55 +0000 (10:51 -0300)] 
Add python 3.7 deprecation warning fix to changelog

6 years agoImport abstract base classes from collections.abc
Florian Bruhin [Wed, 27 Jun 2018 13:30:54 +0000 (15:30 +0200)] 
Import abstract base classes from collections.abc

In Python 3.7, importing ABCs directly from the `collections` module shows a
warning (and in Python 3.8 it will stop working) - see
https://github.com/python/cpython/commit/c66f9f8d3909f588c251957d499599a1680e2320

This fixes various DeprecationWarnings such as those:

```
.../jinja2/utils.py:485: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import MutableMapping

.../jinja2/runtime.py:318: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Mapping
```

6 years agoRefactor _prepare_attribute_parts() to use in both make_attrgetter() and make_multi_a... 1013/head
mayur-srivastava [Sun, 9 Jun 2019 13:35:29 +0000 (09:35 -0400)] 
Refactor _prepare_attribute_parts() to use in both make_attrgetter() and make_multi_attrgetter()

6 years agoMerge pull request #1009 from shamsimam/doc-python-methods
Joshua Bronson [Thu, 6 Jun 2019 03:25:47 +0000 (23:25 -0400)] 
Merge pull request #1009 from shamsimam/doc-python-methods

adds documentation on use of python methods in expressions

6 years agoMerge pull request #1012 from yongbozhang/issue-423
Joshua Bronson [Thu, 6 Jun 2019 03:17:55 +0000 (23:17 -0400)] 
Merge pull request #1012 from yongbozhang/issue-423

Remind not to put block in if statements in doc

6 years agoMerge pull request #1015 from jab/pr-1011
Joshua Bronson [Thu, 6 Jun 2019 03:12:50 +0000 (23:12 -0400)] 
Merge pull request #1015 from jab/pr-1011

Document nested extends and super.super().

6 years agoFix "duplicate object description of jinja2" warning 1015/head
jab [Thu, 6 Jun 2019 03:04:36 +0000 (03:04 +0000)] 
Fix "duplicate object description of jinja2" warning

Follow suggestion to use :noindex: for the instance in api."

6 years agoImprove nested extends (super.super) example.
jab [Thu, 6 Jun 2019 02:34:01 +0000 (02:34 +0000)] 
Improve nested extends (super.super) example.

6 years agoWrite a new documentation section on nesting extends.
Scott Crosby [Fri, 31 May 2019 19:31:10 +0000 (14:31 -0500)] 
Write a new documentation section on nesting extends.

6 years agoissue-423 remind not to put block in if statements in doc 1012/head
yongbozhang [Fri, 31 May 2019 20:37:27 +0000 (16:37 -0400)] 
issue-423 remind not to put block in if statements in doc

6 years agoMerge pull request #1010 from dvamin/master
David Lord [Fri, 31 May 2019 21:01:21 +0000 (17:01 -0400)] 
Merge pull request #1010 from dvamin/master

docs: Python3-ize the examples

6 years agoAdd ability to specify multiple attributes in sort,
mayur-srivastava [Fri, 31 May 2019 20:50:15 +0000 (16:50 -0400)] 
Add ability to specify multiple attributes in sort,
e.g. foo|sort(attribute='name,id').

This fixes #670

6 years agodocs: Python3-ize the examples 1010/head
Deepak Amin [Fri, 31 May 2019 18:17:35 +0000 (14:17 -0400)] 
docs: Python3-ize the examples

This commit updates the examples to conform to Python 3 instead
of Python 2, as Python 3 is more acceptable these days.

6 years agoadds documentation on use of python methods in expressions 1009/head
Shams Imam [Fri, 31 May 2019 19:11:28 +0000 (14:11 -0500)] 
adds documentation on use of python methods in expressions

6 years agoMerge pull request #1008 from gokcegrbl/GH-999
David Lord [Fri, 31 May 2019 17:15:03 +0000 (13:15 -0400)] 
Merge pull request #1008 from gokcegrbl/GH-999

Added new method itervalues() to LRUCache and deprecated itervalue()

6 years agoAdded new method itervalues() to LRUCache and deprecated itervalue() 1008/head
gokcegrbl [Fri, 31 May 2019 12:28:44 +0000 (12:28 +0000)] 
Added new method itervalues() to LRUCache and deprecated itervalue()

(Fixes pallets/jinja#999)

6 years agoMerge pull request #1004 from myii/patch-1
David Lord [Tue, 21 May 2019 14:50:07 +0000 (07:50 -0700)] 
Merge pull request #1004 from myii/patch-1

docs(filters): fix typo `columwrapper` => `columnwrapper`

6 years agodocs(filters): fix typo `columwrapper` => `columnwrapper` 1004/head
Imran Iqbal [Mon, 20 May 2019 12:19:08 +0000 (13:19 +0100)] 
docs(filters): fix typo `columwrapper` => `columnwrapper`

6 years agoMerge pull request #1003 from flexferrum/master
David Lord [Fri, 17 May 2019 13:33:37 +0000 (06:33 -0700)] 
Merge pull request #1003 from flexferrum/master

Remove duplicated testcase

6 years agoRemove duplicated testcase 1003/head
Flex Ferrum [Thu, 16 May 2019 10:54:05 +0000 (13:54 +0300)] 
Remove duplicated testcase

6 years agoBUGFIX #930 - Template parse if with when referencing with dictionary subproperty 1002/head
eplata31 [Mon, 13 May 2019 20:46:41 +0000 (15:46 -0500)] 
BUGFIX #930 - Template parse if with when referencing with dictionary subproperty

6 years agoMerge pull request #988 from tbnorth/triv_docs_link
Kevin Brown [Sat, 11 May 2019 21:43:03 +0000 (17:43 -0400)] 
Merge pull request #988 from tbnorth/triv_docs_link

fixes #242, deletes link to Jinja 1 docs.

6 years agoAdd ChainableUndefined allowing getattr & getitem (#997)
Étienne Pelletier [Wed, 8 May 2019 14:47:33 +0000 (10:47 -0400)] 
Add ChainableUndefined allowing getattr & getitem (#997)

* Add ChainableUndefined allowing getattr & getitem

Allows using default values with chains of items or attributes that may
contain undefined values without raising a jinja2.exceptions.UndefinedError.

>>> import jinja2
>>> env = jinja2.Environment(undefined=jinja2.ChainableUndefined)
>>> env.from_string("{{ foo.bar['baz'] | default('val') }}").render()
'val'

* Remove class decorator from ChainableUndefined

6 years agoAdd new maintenance branch format to Travis (#987)
Kevin Brown [Tue, 7 May 2019 14:38:32 +0000 (10:38 -0400)] 
Add new maintenance branch format to Travis (#987)

* Added new maintenance branch format to Travis

The maintenance branch format appeared to change from
`[version]-maintenance` to `[version].x` in the recent months, and
this broke Travis CI builds made to those branches. Because they
no longer meet the branch regex, the pull requests builds against
these branches were no longer being run.

This ads the regex for any branch which ends in `.x`, which should
catch the new pattern for maintenance branches.

* Use the branch regex from werkzeug

This is more specific to only catch version number branches.

* Sync with master

Apparently the build configuration for this branch is very old and doesn't match master at all.

6 years agoMerge pull request #989 from LindsayYoung/patch-1
David Lord [Mon, 6 May 2019 19:41:36 +0000 (15:41 -0400)] 
Merge pull request #989 from LindsayYoung/patch-1

Create CODE_OF_CONDUCT.md

6 years agoThis is the correct thing to do, vim-wise, although whether 990/head
Terry N. Brown [Mon, 6 May 2019 19:29:48 +0000 (15:29 -0400)] 
This is the correct thing to do, vim-wise, although whether
it has any impact depends on how the user has folding set up
in vim. I confirmed that with the change, a folding setup that
uses these variables works, whereas without the change, the same
setup doesn't work.

Change only effects a file that has to be manually copied to the user's
~/.vim/syntax folder, so it won't impact jinja execution in any way.

6 years agoCreate CODE_OF_CONDUCT.md 989/head
Lindsay Young [Mon, 6 May 2019 17:10:17 +0000 (13:10 -0400)] 
Create CODE_OF_CONDUCT.md

Ticket is referenced in [#Issue 1](https://github.com/pallets/meta/issues/1) in the Meta repo.
I spoke with @davidism and the decision was to use Contributor Covenant. It has easy GitHub integration and quality content.

6 years agofixes #242, deletes link to Jinja 1 docs. 988/head
Terry N. Brown [Mon, 6 May 2019 16:33:13 +0000 (12:33 -0400)] 
fixes #242, deletes link to Jinja 1 docs.

This just fixes a broken link by deleteing it.

I'm assuming Jinja 1 docs. aren't readily available anymore.
I looked for a git tag for version 1 as an alternative target,
but didn't see that either.

6 years agoFix use of 'is' operator for comparison
Raul Tambre [Thu, 2 May 2019 17:23:56 +0000 (20:23 +0300)] 
Fix use of 'is' operator for comparison

The 'is' operator is not meant to be used for comparisons. It currently working is an implementation detail of CPython.
CPython 3.8 has added a SyntaxWarning for this.

6 years agoMerge remote-tracking branch 'origin/2.10.x'
David Lord [Mon, 6 May 2019 14:24:46 +0000 (07:24 -0700)] 
Merge remote-tracking branch 'origin/2.10.x'

6 years agoMerge pull request #982 from kevin-brown/sphinx-upgrade
David Lord [Mon, 6 May 2019 14:24:09 +0000 (10:24 -0400)] 
Merge pull request #982 from kevin-brown/sphinx-upgrade

Fix tox docs-html builds

6 years agoFix tox docs-html builds 982/head
Kevin Brown [Mon, 6 May 2019 14:07:48 +0000 (10:07 -0400)] 
Fix tox docs-html builds

These have been broken for about a month now because of the upgrade
to Sphinx 2. This upgrade happened automatically because we do not
have the version pinned.

Luckily this issue appears to only be from having Python 2 syntax in
the docs script, so making that compatible with Python 3 fixes the
error and allows the docs to pass.

6 years agoadd list filter to make example match output 975/head
Kevin Broch [Mon, 29 Apr 2019 18:26:33 +0000 (11:26 -0700)] 
add list filter to make example match output

6 years agoMerge branch '2.10.x' 798/head
David Lord [Sat, 6 Apr 2019 20:12:56 +0000 (13:12 -0700)] 
Merge branch '2.10.x'

6 years agorelease 2.10.1 2.10.1
David Lord [Sat, 6 Apr 2019 18:02:53 +0000 (11:02 -0700)] 
release 2.10.1

6 years agosandbox str.format_map
Armin Ronacher [Sat, 6 Apr 2019 17:50:47 +0000 (10:50 -0700)] 
sandbox str.format_map

6 years agoBetter repr for TemplateNotFound. 961/head
Julien Palard [Mon, 18 Mar 2019 15:19:13 +0000 (16:19 +0100)] 
Better repr for TemplateNotFound.

6 years agoUpdate CHANGES.rst
Armin Ronacher [Mon, 18 Feb 2019 07:15:10 +0000 (08:15 +0100)] 
Update CHANGES.rst

6 years agoAwait in async version of the map filter (#913)
seaders [Mon, 18 Feb 2019 07:14:47 +0000 (07:14 +0000)] 
Await in async version of the map filter (#913)

6 years agoMerge pull request #943 from RubenGarcia/master
David Lord [Fri, 8 Feb 2019 13:09:29 +0000 (05:09 -0800)] 
Merge pull request #943 from RubenGarcia/master

Fix typo

6 years agoFix typo 943/head
Ruben Garcia [Fri, 8 Feb 2019 10:18:06 +0000 (11:18 +0100)] 
Fix typo

6 years agoMerge pull request #932 from jdufresne/py37
David Lord [Sat, 8 Dec 2018 18:32:39 +0000 (10:32 -0800)] 
Merge pull request #932 from jdufresne/py37

Add testing and document support for Python 3.7 & pypy3

6 years agoAdd testing and document support for Python 3.7 & pypy3 932/head
Jon Dufresne [Sat, 8 Dec 2018 18:04:08 +0000 (10:04 -0800)] 
Add testing and document support for Python 3.7 & pypy3

6 years agoMerge pull request #929 from ExplodingCabbage/fix-nl2br
David Lord [Sun, 25 Nov 2018 18:54:43 +0000 (10:54 -0800)] 
Merge pull request #929 from ExplodingCabbage/fix-nl2br

Fix broken nl2br filter example

6 years agoFix broken nl2br filter example 929/head
Mark Amery [Sun, 25 Nov 2018 17:49:22 +0000 (17:49 +0000)] 
Fix broken nl2br filter example

This example attempts to handle both Windows-style and Unix-style line endings, but does it wrong; as noted at https://stackoverflow.com/q/12521127/1709587, the regex here will match a single \r\n as if it were a double line-break, which results in all single Windows-style line-breaks getting converted into <p> breaks instead of <br> breaks as intended.

This patch fixes that by applying Alan Moore's proposed fix from https://stackoverflow.com/a/12521544/1709587 of using a negative lookahead so that a \r cannot be counted as a line break if it is followed by a \n (while still allowing the \r\n combination to count as a line break).

6 years agoMerge pull request #920 from jdufresne/easy-install
David Lord [Tue, 20 Nov 2018 04:06:17 +0000 (20:06 -0800)] 
Merge pull request #920 from jdufresne/easy-install

Remove reference to deprecated easy_install; use pip instead

6 years agoMerge pull request #926 from PinkFloyded/last_filter_doc_update
David Lord [Tue, 20 Nov 2018 04:04:17 +0000 (20:04 -0800)] 
Merge pull request #926 from PinkFloyded/last_filter_doc_update

Clarify in docs that last filter doesn't work with generators

6 years agoClarify that last filter doesn't work with generators 926/head
PinkFloyded [Fri, 16 Nov 2018 23:33:46 +0000 (05:03 +0530)] 
Clarify that last filter doesn't work with generators

6 years agoRemove reference to deprecated easy_install; use pip instead 920/head
Jon Dufresne [Fri, 2 Nov 2018 01:21:10 +0000 (18:21 -0700)] 
Remove reference to deprecated easy_install; use pip instead

easy_install is deprecated and its use is discouraged by PyPA:

https://setuptools.readthedocs.io/en/latest/easy_install.html

> Warning: Easy Install is deprecated. Do not use it. Instead use pip.

Follow upstream advice and only recommended supported tools. Replace
with pip.

6 years agoMerge pull request #918 from TGogniashvili/tg.fix-lineno
David Lord [Tue, 30 Oct 2018 13:52:36 +0000 (06:52 -0700)] 
Merge pull request #918 from TGogniashvili/tg.fix-lineno

parser: Fix typo `self.lineno` -> `token.lineno`

6 years agoparser: Fix typo `self.lineno` -> `token.lineno` 918/head
Tornike Gogniashvili [Mon, 29 Oct 2018 19:32:49 +0000 (19:32 +0000)] 
parser: Fix typo `self.lineno` -> `token.lineno`

6 years agoMerge pull request #914 from greyli/fix-tag-statement-in-docs
David Lord [Thu, 18 Oct 2018 12:24:28 +0000 (05:24 -0700)] 
Merge pull request #914 from greyli/fix-tag-statement-in-docs

[Docs] Fix ambiguity in include section

6 years agoFix ambiguity in include section 914/head
Grey Li [Thu, 18 Oct 2018 04:59:19 +0000 (12:59 +0800)] 
Fix ambiguity in include section

6 years agoMerge pull request #797 from jdufresne/pyreq
David Lord [Thu, 30 Aug 2018 14:09:27 +0000 (07:09 -0700)] 
Merge pull request #797 from jdufresne/pyreq

Pass python_requires argument to setuptools

6 years agoMerge pull request #891 from jdufresne/ws
David Lord [Thu, 30 Aug 2018 14:09:00 +0000 (07:09 -0700)] 
Merge pull request #891 from jdufresne/ws

Trim trailing white space throughout the project

6 years agoMerge pull request #892 from jdufresne/trove-pypy
David Lord [Thu, 30 Aug 2018 14:08:16 +0000 (07:08 -0700)] 
Merge pull request #892 from jdufresne/trove-pypy

Add trove classifier for PyPy support

6 years agoAdd trove classifier for PyPy support 892/head
Jon Dufresne [Thu, 30 Aug 2018 04:02:27 +0000 (21:02 -0700)] 
Add trove classifier for PyPy support

Tested during CI since 761da6ff612966214fe9e34ac6bc86499e34da26.

6 years agoTrim trailing white space throughout the project 891/head
Jon Dufresne [Thu, 30 Aug 2018 03:58:03 +0000 (20:58 -0700)] 
Trim trailing white space throughout the project

Many editors clean up trailing white space on save. By removing it all
in one go, it helps keep future diffs cleaner by avoiding spurious white
space changes on unrelated lines.

6 years agoPass python_requires argument to setuptools 797/head
Jon Dufresne [Thu, 11 Jan 2018 13:55:37 +0000 (05:55 -0800)] 
Pass python_requires argument to setuptools

Helps pip decide what version of the library to install.

https://packaging.python.org/tutorials/distributing-packages/#python-requires

> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.

https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords

> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.

6 years agoMerge pull request #853 from doobeh/584-filters-index
David Lord [Tue, 7 Aug 2018 17:43:48 +0000 (10:43 -0700)] 
Merge pull request #853 from doobeh/584-filters-index

Quick lookup table for builtin filters and tests-- references #584