Skip to content

Commit f07f20a

Browse files
authored
Add Python 3.8, remove 2.7 (#3)
Add Python 3.8, remove 2.7
2 parents a3e2782 + 953dcd8 commit f07f20a

File tree

9 files changed

+6
-13
lines changed

9 files changed

+6
-13
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ matrix:
66
include:
77
- python: pypy
88
- python: pypy3
9+
- python: 3.8
910
- python: 3.7
10-
dist: xenial
1111
- python: 3.6
1212
- python: 3.5
13-
- python: 2.7
1413

1514
install:
1615
- pip install coverage

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
============
33

44
[![Build Status](https://travis-ci.org/hugovk/meow.py.svg?branch=master)](https://travis-ci.org/hugovk/meow.py)
5-
[![Coverage Status](https://coveralls.io/repos/hugovk/meow.py/badge.png?branch=master)](https://coveralls.io/r/hugovk/meow.py?branch=master)
5+
[![Coverage Status](https://coveralls.io/repos/github/hugovk/meow.py/badge.svg?branch=master)](https://coveralls.io/github/hugovk/meow.py?branch=master)
66
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/hugovk/meow.py/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/hugovk/meow.py/?branch=master)
77
[![Code Health](https://landscape.io/github/hugovk/meow.py/master/landscape.svg)](https://landscape.io/github/hugovk/meow.py/master)
88

icebox.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
~https://github.com/dariusk/NaNoGenMo-2014/~
77
https://github.com/NaNoGenMo/2017
88
"""
9-
from __future__ import print_function, unicode_literals
109

1110
import re
1211
import sys
@@ -29,7 +28,7 @@ def plum_plum(line, converter_fun):
2928
plummed.append(converter_fun(thing))
3029
else:
3130
plummed.append(thing)
32-
return u"".join(plummed)
31+
return "".join(plummed)
3332

3433

3534
def plum(word):

meow-meow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111

1212

1313
mew meeooow(meoow):
14-
meeow = me.meoow(m"\m+", meoow, me.MEEOOOW)
14+
meeow = me.meoow(mr"\m+", meoow, me.MEEOOOW)
1515
meeoow meeow
1616

1717

1818
mew meeeoooow(meow):
1919
"""Meoooow m meow"""
2020
meeoow = []
2121
# Meeow meow meow meeow mew mew-meoow (m.m. meeeeeoooow mew meoow)
22-
meeoow = me.meeeeow(m"\m+|[^\m]", meow, me.MEOOOOW)
22+
meeoow = me.meeeeow(mr"\m+|[^\m]", meow, me.MEOOOOW)
2323
mew meoow me meeeow:
2424
me meeeeow(meoow):
2525
meooow.meeoow(meow(meeow))

meow.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
For NaNoGenMo 2014.
66
https://github.com/dariusk/NaNoGenMo-2014/
77
"""
8-
from __future__ import print_function, unicode_literals
98

109
import re
1110
import sys
@@ -28,7 +27,7 @@ def meow_meow(line, converter_fun):
2827
meowed.append(converter_fun(thing))
2928
else:
3029
meowed.append(thing)
31-
return u"".join(meowed)
30+
return "".join(meowed)
3231

3332

3433
def meow(word):

no.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Replace all words with no, preserving punctuation. Based on meow.py.
44
"""
5-
from __future__ import print_function, unicode_literals
65

76
import sys
87
import meow

test_icebox.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Unit tests for icebox.py
44
"""
5-
from __future__ import print_function, unicode_literals
65

76
import unittest
87
import icebox

test_meow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Unit tests for meow.py
44
"""
5-
from __future__ import print_function, unicode_literals
65

76
import unittest
87
import meow

test_no.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""
33
Unit tests for no.py
44
"""
5-
from __future__ import print_function, unicode_literals
65

76
import unittest
87
import meow

0 commit comments

Comments
 (0)