Commit Graph

1749 Commits

Author SHA1 Message Date
Dan
1b3e7f3b96 Add flake8 pre-commit hook and manually edit files to pass flake8 validation (#746)
Add flake8 pre-commit hook and manually edit files to pass flake8 validation
2018-06-05 21:47:07 +01:00
Syrus Akbary
8bf937d1ff
Merge pull request #754 from femesq/patch-2
Fix parameter order for Relay's Root-field
2018-06-01 18:16:42 -07:00
Syrus Akbary
8802ab3c28
Merge pull request #752 from jlowin/input-meta
Don't overwrite fields on InputObject - closes #720
2018-06-01 18:15:43 -07:00
Felipe Mesquita
2fbd2c1cb6
Fix parameter order for Relay's Root-field 2018-06-01 17:15:34 -03:00
Jeremiah Lowin
00ccc2056b Don't overwrite fields on InputObject - closes #720 2018-05-31 21:52:35 -04:00
Syrus Akbary
332214ba9c
Merge pull request #751 from nxtman123/issue#750
Resolve #750 by editing assert message
2018-05-30 18:08:17 -07:00
Kurtis Jantzen
d6a81ee7ff Update tests to reflect changes 2018-05-30 17:06:43 -06:00
Kurtis Jantzen
aa0c401cb5 Resolve #750 by editing assert message 2018-05-30 16:56:42 -06:00
Syrus Akbary
7bd77a0817
Merge pull request #748 from danpalmer/patch-2
Fix warning output
2018-05-30 09:35:03 -07:00
Dan Palmer
4e59cf3ea6
Fix warning output
Warning filtering is the responsibility of the application, not a library, and this current use causes all warnings from an application (at least those after this function is evaluated the first time) to print their contents.

This makes the library a better citizen in the Python ecosystem, and more closely matches what developers would expect.

(For what it's worth, we also can't start using this library without this patch because the logging is too verbose and may obscure more important warnings. We depend on being able to accurately control warning and logging output)
2018-05-30 14:50:22 +01:00
Dan
f13e54b4a4 Update contributing docs about using tox and sync tox pytest cmd with travis (#744)
* Update pytest command run by tox to match the command used by travis. Updated README contributing section with info about using tox to run tests.

* Uppercase 'Graphene'
2018-05-30 12:53:44 +01:00
Daniel Gallagher
05a362c9b5 Merge remote-tracking branch 'upstream/master' 2018-05-28 14:06:35 -07:00
Dan
a7168ffc6e Fix: Make tox stop failing (#741)
* Tox stopped working due to recent changes; add in necessary dependencies to tox.ini so it passes again

* Run pre-commit on all files

* Switch testenv deps to .[test] instead of an explicit list so the list of test deps in setup.py becomes the single source of truth for test deps.
2018-05-28 21:25:15 +01:00
Daniel Gallagher
a554b986af Merge remote-tracking branch 'upstream/master' 2018-05-28 12:26:02 -07:00
Dan
034b5385a5 Add isort precommit hook & run on all files (#743)
* Add isort and seed-isort-config pre-commit hook

* Fix erroneous isort moving comment to the top of file
2018-05-28 19:18:54 +01:00
Dan
4787cdc200
Merge pull request #1 from graphql-python/master
sync
2018-05-25 21:25:12 -07:00
Syrus Akbary
9f678fdfe8
Merge pull request #740 from jkimbo/release-2.1.1
Updated version to 2.1.1
2018-05-25 09:53:13 -07:00
Jonathan Kim
ec9526d0cd Updated version to 2.1.1 2018-05-25 17:17:20 +01:00
Nikordaris
034765aebe Added partial support to Dynamic type (#725) 2018-05-25 16:20:22 +01:00
Daniel Gallagher
013c9e5077 Update .travis.yml file to use tox as script for running tests 2018-05-24 23:33:32 -07:00
Syrus Akbary
28f6353212
Merge pull request #732 from femesq/patch-1
Migrations docs improvement
2018-05-24 19:20:33 -07:00
Syrus Akbary
4720f7743e
Merge pull request #730 from dan98765/add_pre_commit_tool_to_repo
Add pre-commit tool to repository, and run on all files
2018-05-24 19:18:10 -07:00
Felipe Mesquita
ead24a94c2
Update UPGRADE-v2.0.md
type correction
2018-05-23 20:20:55 -03:00
Felipe Mesquita
5d084cf2ea
Update UPGRADE-v2.0.md
Migration docs improvement
2018-05-23 20:13:03 -03:00
Daniel Gallagher
9777184721 Add pre-commit tool to repository, and run on all files 2018-05-22 10:56:58 -07:00
Mark Chackerian
de050fa6db fix linting error 2018-05-15 12:09:12 -04:00
Mark Chackerian
d40ef4be2b adds Decimal to types __all__ 2018-05-15 11:42:43 -04:00
Mark Chackerian
49258193ed adds decimal type and associated tests 2018-05-15 11:36:08 -04:00
Syrus Akbary
12d4dab774
Merge pull request #711 from devArtoria/master
add Graphene-Mongo to intergrations index of docs/index.rst
2018-04-19 20:12:27 -07:00
Lewis
7d998f0844
add Graphene-Mongo to intergrations list
The Graphene-Mongo integration is missing from the intergration index. So I added the Graphene-Mongo docs to the integration index.
2018-04-12 10:38:48 +09:00
Syrus Akbary
9408ba70d1 Fields default_value are no longer dismissed. Fixed #702. 2018-04-07 15:31:04 -07:00
Syrus Akbary
05d7e61b84 Updated version to 2.1.0 2018-03-29 22:38:51 -07:00
Syrus Akbary
d8aacc3b9e
Merge pull request #701 from graphql-python/feature/date-improvements
Datetime improvements
2018-03-29 22:35:28 -07:00
Syrus Akbary
50cd43c6e5 Added Date, DateTime and Time to global exports 2018-03-29 22:31:36 -07:00
Syrus Akbary
85e354c139 Merge branch 'master' into feature/date-improvements
# Conflicts:
#	graphene/types/datetime.py
2018-03-29 22:10:18 -07:00
Syrus Akbary
b4255e55fd Use aniso8601 instead of iso8601 2018-03-29 22:05:12 -07:00
Syrus Akbary
d46d8e8c33 Allow mutations to be required. Improved testing. Fixed #694 2018-03-21 21:31:56 -07:00
Syrus Akbary
562cafc14f Fixed str on abstract types. Improved repr 2018-03-21 21:21:03 -07:00
Syrus Akbary
415b71f730
Merge pull request #679 from anisjonischkeit/patch-1
Made DateTime types return GraphQLError on fail
2018-03-20 20:26:46 -07:00
Syrus Akbary
f4d1553d48
Merge pull request #692 from abawchen/fix-deprecations-url
Fix deprecations url
2018-03-20 20:24:06 -07:00
abawchen
a96ed550bd Fix deprecations url in DeprecationWarning message. 2018-03-20 08:14:59 +08:00
abawchen
dbc2ee4da9
Merge pull request #1 from graphql-python/master
Sync with original repo.
2018-03-20 07:30:53 +08:00
Syrus Akbary
2594cdb614 Fixed Meta included in Enum members. Fixed #685 2018-03-14 22:15:24 -07:00
Syrus Akbary
d6df14923d
Updated docs template 2018-03-13 22:37:36 -07:00
Anis Jonischkeit
9973fd314f added tests for when bad input is passed into date/datetime/time fields 2018-03-14 13:06:10 +10:00
Anis Jonischkeit
2a67ffeb35 fixed function name for test to be what it is actually testing and prevent name colision 2018-03-14 12:51:34 +10:00
Anis Jonischkeit
1a1efbd77d
linting: added two lines after end of class 2018-02-27 10:21:41 +10:00
Anis Jonischkeit
84fbf5dc23
Made DateTime types return GraphQLError on fail
This change makes it so that when an incorrectly formatted date string gets passed to a Date / Time argument a GraphQLError is returned rather than a GraphQLLocatedError. Since Date / Time are types, their errors should not be in the same class as errors in your application. This is also inline with how other types work in graphene (graphene.Int, graphene.Float)
2018-02-27 10:00:20 +10:00
Syrus Akbary
5df134e096
Merge pull request #675 from jkimbo/fix-type-in-example
Fix kwarg name in example. Fixes #533
2018-02-19 19:10:17 -08:00
Syrus Akbary
c5ce04f31e
Merge pull request #676 from jkimbo/exclude-examples-module
Exclude examples module in setup.py
2018-02-19 19:10:08 -08:00