1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00
Commit graph

69 commits

Author SHA1 Message Date
Joe R
bfc65193f0 Fixed new flake8 rule issues. 2022-08-03 20:56:14 -04:00
Juhani Numminen
2cb63cb3fc Skip all python2 tests by default
python2 is deprecated
2021-07-07 18:13:34 +03:00
Juhani Numminen
076ee8d11a Run unittests via a single TAP test
Enable standard unittest discovery by creating __init__.py files
and renaming test modules to test*.py.
2021-07-07 18:13:34 +03:00
Juhani Numminen
bf9ce90a5b Refactor cardset config.txt parser to a new module 2020-10-06 14:35:28 +03:00
Shlomi Fish
0961401105 fix tests 2019-11-13 08:39:59 +02:00
Shlomi Fish
602f9ebc93 add missing attribute.
See https://github.com/shlomif/PySolFC/issues/129 .
2019-07-26 00:04:07 +03:00
Shlomi Fish
0aad4261d8 appveyor fix #1 - os.sep 2019-07-14 08:58:46 +03:00
Shlomi Fish
2d60bdf726 travis / py3 fix - str.replace. 2019-05-05 21:16:07 +03:00
Shlomi Fish
6317008876 traverse the tree for matching modules.
To avoid misses.
2019-04-30 17:35:43 +03:00
Shlomi Fish
33c8f6e375 add tests. 2019-04-30 17:20:47 +03:00
Shlomi Fish
9af86cddfb Extract a common module/library/header.
This is Refactoring / code cleanup.

See:

* https://refactoring.com/catalog/extractMethod.html

* https://en.wikipedia.org/wiki/Code_refactoring

* https://www.refactoring.com/

* https://www.joelonsoftware.com/2002/01/23/rub-a-dub-dub/

Some small optimisations may have slipped in as well.
2019-04-29 15:14:36 +03:00
Shlomi Fish
90323173a7 Extract a common module/library/header.
This is Refactoring / code cleanup.

See:

* https://refactoring.com/catalog/extractMethod.html

* https://en.wikipedia.org/wiki/Code_refactoring

* https://www.refactoring.com/

* https://www.joelonsoftware.com/2002/01/23/rub-a-dub-dub/

Some small optimisations may have slipped in as well.
2019-04-29 15:08:04 +03:00
Shlomi Fish
0c19541e8d Allow to skip python2 tests.
So one won't have to have these deps installed.
2019-01-18 20:41:07 +02:00
Shlomi Fish
ed18fd8156 Order imports based on flake8-import-order.
Tested on ci. See https://github.com/PyCQA/flake8-import-order . In the
process did some other cleanups and
https://en.wikipedia.org/wiki/Code_refactoring .
2019-01-11 23:55:06 +02:00
Shlomi Fish
8980adbd35 skip gtk tests on macos x.
travis-ci/etc.
2018-11-12 13:34:48 +02:00
Shlomi Fish
b142366595 Fix exception in the Wasp variant.
See https://sourceforge.net/p/pysolfc/bugs/31/ .

unable to move cards in py3.
2018-10-08 23:19:59 +03:00
Shlomi Fish
a8f297208b Refactoring: generate dup code. 2018-05-12 20:45:21 +03:00
Shlomi Fish
2f114469b5 add py2 tests 2018-05-01 17:52:17 +03:00
Shlomi Fish
6304994ed4 add py2 tests 2018-05-01 17:45:37 +03:00
Shlomi Fish
6ec197daaf Add py2 tests. 2018-05-01 17:36:41 +03:00
Shlomi Fish
7860f47363 generate some duplicate code. 2018-05-01 17:28:02 +03:00
Shlomi Fish
661c23e1b0 refactor. 2018-04-15 18:43:26 +03:00
Shlomi Fish
39cd81d663 Refactor/optimize: get rid of TAP.Simple.
It was underused and unneeded.
2018-04-15 17:41:09 +03:00
Shlomi Fish
fcdbbfbae7 test for py3 importing of modules. 2017-08-25 18:25:58 +03:00
Shlomi Fish
27f23b2e88 flake8 2017-04-19 12:03:45 +03:00
Shlomi Fish
ecaa5d99a5 Move some classes to a common module.
This is part of the refactoring effort, and we've dealt with tkhtml now.
2017-02-10 23:26:51 +02:00
Shlomi Fish
e04fdce5d5 Merge the findcarddialog modules into one. 2016-11-18 22:51:17 +02:00
Shlomi Fish
dee599c7fd Extract a common base class. 2016-11-13 16:05:11 +02:00
Shlomi Fish
e525a823fa Extract an edit-text-dialog base class. 2016-11-13 13:29:46 +02:00
Shlomi Fish
1d35f40fc6 Extract a base class for solverdialog. 2016-11-09 16:05:09 +02:00
Shlomi Fish
649f7b07dc Merge ColorsDialog. 2016-02-25 16:24:04 +02:00
Shlomi Fish
9f7cc65a5f Merge {tile,tk}/tkwrap. 2016-02-14 16:45:10 +02:00
Shlomi Fish
5d8b82cabe Move {tk,tile}/{card,tkcanvas} to ui.tktile.
They were identical in both places.
2016-02-14 16:14:30 +02:00
Shlomi Fish
1d7fb6fd61 Merge tile/tkutil.py and tk/tkutil.py.
They were identical.
2016-02-14 15:27:54 +02:00
Shlomi Fish
b5a6c948f4 Remove an old module from tested list 2016-02-13 23:58:25 +02:00
Shlomi Fish
58ae4600e9 Fix the tests. 2016-02-13 23:55:52 +02:00
Shlomi Fish
a00b71a339 Sorted. 2012-11-25 20:25:41 +02:00
Shlomi Fish
73bd091777 Testing import of games. 2012-11-25 20:01:28 +02:00
Shlomi Fish
76b87a3780 Testing tk. 2012-11-25 19:58:01 +02:00
Shlomi Fish
fc48966fb2 Add tile. 2012-11-25 19:54:59 +02:00
Shlomi Fish
20bf0af1b6 pysolgtk. 2012-11-25 19:53:36 +02:00
Shlomi Fish
7bc8c6cd0b Testing init. 2012-11-25 19:49:39 +02:00
Shlomi Fish
924f39db97 Add more. 2012-11-25 19:21:52 +02:00
Shlomi Fish
912d576813 Add more. 2012-11-25 19:19:42 +02:00
Shlomi Fish
d9e3d83e9f wizardutil. 2012-11-25 19:15:36 +02:00
Shlomi Fish
5d639b71b6 Add more. 2012-11-25 19:13:19 +02:00
Shlomi Fish
55cc8995ae pysoltk. 2012-11-25 19:12:33 +02:00
Shlomi Fish
4cad8eb7de Test and convert main. 2012-11-25 19:09:16 +02:00
Shlomi Fish
2b21c59a58 Add more. 2012-11-25 19:05:31 +02:00
Shlomi Fish
7ae1fa725d Test and convert "import help". 2012-11-25 19:01:26 +02:00