cclauss
7b4a7656fc
Remove Python 2 from testing and add Python 3.5.0
...
Pokemon-Terminal does not support Python 2.
2017-06-29 19:08:52 +02:00
cclauss
911dff25f3
named_tuple --> namedtuple
2017-06-29 18:59:02 +02:00
cclauss
2159a6b52f
end = len(db) if region_name == "extra" else region_record.end
2017-06-29 09:43:56 +02:00
cclauss
c02d469144
Added test_regions()
2017-06-29 09:25:12 +02:00
cclauss
7c10577226
pytest --capture=sys # for testing text on stdout
2017-06-28 06:44:37 +02:00
cclauss
29a5f4c0f8
Create test_main.py
...
To run the tests do: `python -m pytest --capture=sys`
2017-06-28 06:36:06 +02:00
cclauss
39b4e4d3fc
Undoing ALL the changes to unittest.py
2017-06-28 06:20:44 +02:00
cclauss
3923f8f8e2
Undoing changes to unittest.py
2017-06-28 06:19:18 +02:00
cclauss
89b1992504
Three pytest tests
2017-06-28 00:16:00 +02:00
cclauss
7512521244
Install and run pytest
2017-06-28 00:14:08 +02:00
cclauss
a30a02e666
Ensure latest and greatest version of Python
2017-06-24 16:41:33 +02:00
cclauss
48a0802f5a
Remove before_install
2017-06-24 16:39:28 +02:00
cclauss
03d7121508
Create .travis.yml
...
This will automatically run [flake8](https://flake8.pycqa.org ) tests and `unittest.py` on every pull request to this repo. This will help contributors know if their submissions would break the build. To turn on this free service, you would need to do steps 1 and 2 of https://docs.travis-ci.com/user/getting-started/
2017-06-24 16:37:56 +02:00
Lazo
d0d46cec4e
Merge pull request #51 from cclauss/patch-2
...
Simplify with triple quoted strings and str.format()
2017-06-23 22:16:56 -04:00
Lazo
de31733371
Merge pull request #50 from cclauss/patch-1
...
Use a multiline string to simplify the OSA script
2017-06-23 22:16:23 -04:00
cclauss
ff12b686d7
Remove unnecessary function
2017-06-22 08:03:18 +02:00
cclauss
659f197513
Simplify with triple quoted strings and str.format()
2017-06-22 07:31:23 +02:00
cclauss
81e495ab8e
Use a multiline string to simplify the OSA script
...
Triple quoted strings allow you to create multi line content in a more readable way.
2017-06-22 07:05:53 +02:00
LazoCoder
cfb920fb7c
Fixed issue with how the database loads pokemon
...
If not converted to lowercase it causes problems.
2017-06-21 19:26:14 -04:00
LazoCoder
12a6e04f73
Fixed Value Error
...
ValueError: '=' alignment not allowed in string format specifier
2017-06-21 19:11:19 -04:00
Lazo
00fb436124
Update README.md
2017-06-21 19:03:25 -04:00
Lazo
d6add97c04
Merge pull request #47 from Fiskie/adapters
...
Use adapters for each supported terminal
2017-06-21 18:40:31 -04:00
Lazo
ddef3c053a
Merge pull request #44 from cclauss/patch-2
...
Simplify with str.join() and enumerate()
2017-06-21 18:21:08 -04:00
Lazo
bb2736cd5a
Update README.md
2017-06-21 18:17:20 -04:00
Lazo
4958046edf
Merge pull request #42 from cclauss/patch-1
...
List comprehensions, and other simplifications
2017-06-21 18:14:28 -04:00
fisk
e1ca2c8ca0
Defer terminal detection to the adapter itself
2017-06-21 17:30:28 +01:00
Fiskie
2fea1581c1
Fix mixing of python format tokens
2017-06-21 14:39:13 +01:00
Fiskie
1b0870d9ec
Pipe wallpaper applescript directly to osascript
...
Remove Scripts dir, it's no longer needed
2017-06-21 14:22:11 +01:00
Fiskie
12afad46c2
Merge branch 'adapters' of https://github.com/Fiskie/Pokemon-Terminal into adapters
...
# Conflicts:
# adapter/implementations/ITerm.py
2017-06-21 13:47:58 +01:00
Fiskie
ddee836e1e
Pipe a script directly to osascript instead of doing weird file stuff
2017-06-21 13:46:47 +01:00
fisk
e1789d89d7
Move terminal logic to adapter pattern
...
Property identify iTerm instead of just checking if MacOS is being used
Remove .idea files from repository
These really shouldn't be in here
Remove the scripts from the repository, these don't need to be in here
2017-06-21 13:27:27 +01:00
fisk
1c47ffe493
Remove the scripts from the repository, these don't need to be in here
2017-06-21 13:25:57 +01:00
fisk
aff71bb2bf
Remove .idea files from repository
...
These really shouldn't be in here
2017-06-21 13:16:48 +01:00
fisk
831407d4cf
Property identify iTerm instead of just checking if MacOS is being used
2017-06-21 13:12:20 +01:00
fisk
b92ebe0530
Move terminal logic to adapter pattern
2017-06-21 12:49:16 +01:00
cclauss
797a5eccf4
Simplify with str.join() and enumerate()
2017-06-21 09:00:24 +02:00
cclauss
239aad543c
List comprehensions, and other simplifications
...
Use isinstance() for type comparisons.
Use with open() to ensure that file close() happens.
Also random.choice(), str.join(), str.format(), str.partition(), ternary if
2017-06-21 07:40:10 +02:00
LazoCoder
489cd9ea4a
alias added: ichooseyou
2017-06-18 20:19:00 -04:00
LazoCoder
2e338f689b
npm version update
2017-06-18 11:10:29 -04:00
Lazo
47f5552e51
Update README.md
2017-06-18 10:58:57 -04:00
LazoCoder
088f5859e9
Formatted help menu + added search system info
2017-06-18 00:31:05 -04:00
LazoCoder
49b59804e5
Forgot to update readme
2017-06-18 00:08:39 -04:00
LazoCoder
f1c0cab647
Removed "?" functionality
...
It is unreliable and confusing. Also it only worked for iTerm.
2017-06-18 00:07:33 -04:00
Lazo
fd679eb80c
Update README.md
2017-06-17 12:19:48 -04:00
Lazo
092dce7bd8
Merge pull request #26 from connordinho/feature-add-slideshow-time
...
Made it possible to set time to sleep in slideshow mode.
2017-06-17 12:12:51 -04:00
Lazo
7542a955f5
Update README.md
2017-06-17 11:31:25 -04:00
Lazo
8015297231
Update README.md
2017-06-17 11:21:08 -04:00
Lazo
f5d0f9a5f4
Update README.md
2017-06-17 10:53:19 -04:00
Lazo
d583922687
Merge pull request #27 from MattMattV/master
...
Added support for Tilix terminal emulator
2017-06-17 10:50:39 -04:00
Lazo
2cca5957b8
Update README.md
2017-06-17 10:00:10 -04:00