Skip to content

Commit

Permalink
removed f strings for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
callumrollo committed May 8, 2020
1 parent 8e896f0 commit 01e05bd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: [3.5, 3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v2
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/pythonpublish.yml

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
setup(
name = 'cmcrameri',
packages = ['cmcrameri'],
version = '0.10',
version = '0.11',
license='MIT',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down
5 changes: 1 addition & 4 deletions tests/test_cmcrameri.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

def test_find_files():
assert len(cm.paths) > 0
print(f"Number of text files: {len(cm.paths)}")


def test_cmap_import():
Expand All @@ -26,8 +25,6 @@ def test_cmap_import():
cmap_names.append(name)
# Should be twice as many colour maps as files (original and reversed versions)
assert no_cmaps == 2*len(cm.paths)
print(f"Number of colormaps: {no_cmaps}\n"
f"Names of colourmpas: {cmap_names}")

test_find_files()
test_cmap_import()
test_cmap_import()

0 comments on commit 01e05bd

Please sign in to comment.