30 Commits

Author SHA1 Message Date
Dan Yeaw
ee7b980419
Fix tests should have the right numbers of partitions
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-11-28 22:30:35 -05:00
Dan Yeaw
a5fa1568ce
Update action-issue tests with new partitions
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-11-22 21:26:47 -05:00
Dan Yeaw
4776b53c40
Reformat docstrings
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-09-07 15:28:20 -04:00
Arjan Molenaar
70b44e98de Allow types in ElementFactory.[l]select() 2020-05-29 13:51:55 +02:00
Arjan Molenaar
5c6dea490b Rename ModelProvider to ModelingLanguage 2020-04-16 20:40:54 +02:00
Arjan Molenaar
6faa2cf7ff ElementDispatcher and storage now use ModelProvider
No Generic model provider implementation yet, so all defaults to
implementations of the UMLModelProvider.
2020-04-16 20:32:35 +02:00
Dan Yeaw
3b66040c72
Fix test model locations
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-04-13 21:34:34 -04:00
Arjan Molenaar
5ea8cac035 Move gaphor.diagram.* items to UML package
Hotfix gaphor.core.modeling.elementdispatcher, since it has an explicit
dependency on the UML model. Should be moved out into a ModelProvider
service of some sort.
2020-04-12 23:11:31 +02:00
Dan Yeaw
1e182b244b
Move all test models to models package
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-04-12 12:40:46 -04:00
Arjan Molenaar
5f09020452 Move distribution function out of Application
And reuse it by tests as well.
2020-01-30 10:01:51 +01:00
Dan Yeaw
05481db043
Sort imports 2019-11-09 20:27:01 -05:00
Arjan Molenaar
082a136e83 Fix Black version 2019-10-30 08:00:07 +01:00
Arjan Molenaar
c0b225e529 Ran autoflake on the code
Removed unused imports and unneeded pass statements.
2019-10-13 14:28:59 +02:00
Arjan Molenaar
17c319d4bb Use importlib_metadata instead of pkg_resources
We're no longer depending on setuptools.
2019-06-07 23:51:31 +02:00
Arjan Molenaar
58125eeb83 Change assert(Not)Same calls to simple asserts
PyTest gives enough context.
2019-06-03 23:40:40 +02:00
Dan Yeaw
913cdf334e
Change assert statements to pytest format
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-05-25 22:41:46 -04:00
Arjan Molenaar
363600f463 Make imports more specific
Do not import from gaphor.diagram.items, but from their specific modules/packages.
2019-05-20 22:39:01 +02:00
Dan Yeaw
1c72d3010b
Replace zope.component.adapts with decorator, remove vim setting comment
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2019-02-17 13:21:50 -05:00
Dan Yeaw
0b854fc522
Run black on all files to fix formatting
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2018-11-24 21:31:18 -05:00
Arjan Molenaar
fb04d4632d Fix assert warnings, whitespace 2018-11-22 23:14:07 +01:00
Dan Yeaw
e66b458a2b
Futurize run 2: fix dict, update items, keys, and values
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2018-09-29 22:28:43 -04:00
Dan Yeaw
146ed7818b
Revert "Migrated codebase to be compatible with Python3 using python-modernize. Changed import statements to fix recursive imports, renamed uses of "UML" to uml2 and modelfactory which are the actual module names, and removed some of the unused import statements."
This reverts commit d7c8653

Signed-off-by: Dan Yeaw <dan@yeaw.me>
2018-09-21 13:46:40 -04:00
Dan Yeaw
385d249b7a Correct wrong short license on each source file
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2018-01-13 18:33:50 -05:00
danyeaw
68cb1d3229 Added license preamble and copyright, closes #10. 2017-05-12 22:03:34 -04:00
danyeaw
ffabc82351 Ran python-modernize on files outside of gaphor. Updated formatting. 2017-04-30 21:23:46 -04:00
danyeaw
b705df38d6 Revert "Reformatted all code to match PEP8, optimized imports."
This reverts commit 244be6b6472b6ad9a9b27a32267e4d4a093d56bb.
2017-04-29 21:58:43 -04:00
danyeaw
244be6b647 Reformatted all code to match PEP8, optimized imports. 2017-04-29 21:24:12 -04:00
danyeaw
4a31654690 More import updates to change UML to uml2 2017-04-26 22:13:28 -04:00
danyeaw
d7c86533c3 Migrated codebase to be compatible with Python3 using python-modernize. Changed import statements to fix recursive imports, renamed uses of "UML" to uml2 and modelfactory which are the actual module names, and removed some of the unused import statements. 2017-04-24 20:59:16 -04:00
Arjan Molenaar
c4af325e61 Added test case for actions. Not testing flow positions, though. 2010-01-20 19:20:16 +01:00