Commit Graph

1425 Commits

Author SHA1 Message Date
Jonathan Kim
1f541e4467 Add crunch utility 2018-07-01 21:09:12 +01:00
Jonathan Kim
56000394c4 Simplify code 2018-07-01 11:32:16 +01:00
Jonathan Kim
cbcaac66d0 Add deduplicator utility 2018-07-01 11:29:45 +01:00
Syrus Akbary
1b746e6460
Merge pull request #779 from benmosher/patch-1
docs: mutation 'Output' example (closes #543)
2018-06-26 10:59:31 -07:00
Ben Mosher
708278e6dc
docs: mutation 'Output' example (closes #543) 2018-06-26 07:14:46 -04:00
Syrus Akbary
9efdf4c46e
Merge pull request #771 from jkimbo/update-interface-documentation
Update interface documentation
2018-06-18 13:33:59 -07:00
Syrus Akbary
9da46e8c99
Merge pull request #770 from boidolr/master
Update documentation
2018-06-18 13:33:34 -07:00
Jonathan Kim
cc54c76a3e Improve wording 2018-06-17 12:05:34 +01:00
Jonathan Kim
e7ebb86e5a Re-order type list 2018-06-17 11:25:32 +01:00
Jonathan Kim
a2db7c5dae Remove an unnecessary field 2018-06-17 11:24:59 +01:00
Jonathan Kim
3f6c3a7a99 Clean up doc and add resolve_type documentation 2018-06-17 11:23:08 +01:00
Jonathan Kim
43e87768d2 Update interface documentation 2018-06-16 15:10:32 +01:00
Raphael Boidol
5c4736e102 Update documentation
* resolver function arguments changed in `objecttypes.rst`
* small typo in `mutations.rst`
2018-06-16 13:11:33 +02:00
Syrus Akbary
c102458808
Merge pull request #768 from graphql-python/v2.1.2-1
Update to v2.1.2
2018-06-13 10:34:15 -07:00
Jonathan Kim
81419de5bf
Update to v2.1.2 2018-06-12 21:48:52 +01:00
Dan
33f2b303de Add python3.6 classifier to setup.py (#763) 2018-06-12 21:38:16 +01:00
Dan
b72dfa87a4 Update README Contributing section to encourage use of virtualenv (#765) 2018-06-12 21:38:06 +01:00
Daniel Gallagher
400a98de92 Add tox env for running mypy and add that to .travis.yml 2018-06-11 09:12:27 -07:00
Dan
12ee52a13a Add pyupgrade pre-commit hook and run on all files (#736) 2018-06-09 14:01:29 +01:00
Daniel Gallagher
c8fba61a05 Exclude README.md from trailing-whitespace hook 2018-06-08 22:19:26 -07:00
Daniel Gallagher
b5542d4426 Run pre-commit autoupdate 2018-06-08 22:13:45 -07:00
Daniel Gallagher
0f3d786402 Run pre-commit on all files 2018-06-08 22:08:58 -07:00
Daniel Gallagher
87cf3d4b80 Try installing mypy only when python version is 3.6 2018-06-08 22:00:01 -07:00
Daniel Gallagher
1d49df033c Explicitly run on py27 2018-06-08 21:56:08 -07:00
Daniel Gallagher
dbb72ba06b Update to match graphql-core 2018-06-08 21:54:24 -07:00
Daniel Gallagher
6116901ab6 Merge branch 'master' of github.com:dan98765/graphene into pre_commit_runs_as_part_of_continuous_integration 2018-06-08 21:52:34 -07:00
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