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

32 commits

Author SHA1 Message Date
Shlomi Fish
2bec58be2d Fix next deal / Ctrl+N for ms deals. 2019-05-23 19:10:57 +03:00
Shlomi Fish
d3b1674a47 Fix spider illegal moves canMove bug.
See https://sourceforge.net/p/pysolfc/bugs/36/ . TODO: add tests.
2019-02-19 19:45:51 +02:00
Shlomi Fish
204bc6b5fa optimize travis.yml 2019-01-26 19:53:49 +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
5e10f11ca5 Refactoring / code cleanup.
See:

* 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.
2018-12-06 23:49:44 +02:00
Shlomi Fish
2b2d23f958 Extract a method or a function.
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.
2018-12-06 23:41:49 +02:00
Shlomi Fish
c0076b5b36 Better fix for SourceForge bug #31.
See https://sourceforge.net/p/pysolfc/bugs/31/ . Thanks to Caelia Renee
Chapin for the fix and to Kevin Knerr for the report. Test case by
@shlomif.
2018-12-06 19:26:20 +02:00
Shlomi Fish
5febb53706 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.
2018-10-09 13:08:45 +03: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
895bedff00 remove already autogenerated boilerplate.
It was no longer used or needed.
2018-07-23 19:10:28 +03:00
Shlomi Fish
a8f297208b Refactoring: generate dup code. 2018-05-12 20:45:21 +03:00
Shlomi Fish
f630539e88 gracefully handle import. 2018-05-11 14:29:46 +03:00
Shlomi Fish
a9e23ae7de Refactor - extract a method. 2018-05-11 13:54:15 +03:00
Shlomi Fish
05f3e3027f Convert to an exception object.
To avoid getting wedged.
2018-05-11 13:40:13 +03:00
Shlomi Fish
93f88ba514 Convert to the CPAN distro.
See https://metacpan.org/release/Code-TidyAll-Plugin-Flake8 .
2018-05-10 17:07:02 +03:00
Shlomi Fish
0a05c3c9cf Speedup the test suite by tidyall caching.
Of flake8. TODO: put on CPAN.
2018-05-08 00:28:58 +03:00
Shlomi Fish
4b75005b28 Start adding support for handling parse errs.
in the importFile feature. Still does not work fully.
2018-05-07 23:29:14 +03:00
Shlomi Fish
9eab5fe6bf support utf8 bom import. 2018-05-02 20:18:01 +03:00
Shlomi Fish
9ddaa7e110 Refactor. 2018-05-01 18:22:15 +03:00
Shlomi Fish
724b6f8688 rename better. 2018-05-01 18:12:35 +03:00
Shlomi Fish
6db30de668 remove unused 2018-05-01 18:08:15 +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
665985ec6d Add python2 tests. 2018-05-01 17:09:12 +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
53bc1fb8eb meaningul test blurb. 2018-03-24 23:04:07 +03:00
Shlomi Fish
94cbbfafbf Fix a bug with restart of ms-deals.
.reset() in LCRandom31 was not implemented. A test was added.

Thanks to Don.
2018-03-24 23:04:07 +03:00
Shlomi Fish
a68546f7a2 convert to unittest.py. 2018-03-21 10:45:12 +02:00
Shlomi Fish
2c8f7af1e1 Refactor: extract a common module. 2017-12-10 18:14:57 +02:00
Shlomi Fish
149496c90c flake8 : traverse recursively. 2017-04-19 15:45:56 +03:00
Shlomi Fish
424c758815 Add the first individually-importing test. 2012-11-25 16:33:46 +02:00