Skip to content

Commit

Permalink
Document support for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
joowani committed Aug 24, 2019
1 parent 055c893 commit 80daf36
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 17 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ target/

# PyCharm
.idea

# Pytest Cache
.pytest_cache/
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ Directory Tags for Lazy Programmers
:target: https://badge.fury.io/py/dtags
:alt: Package Version

.. image:: https://img.shields.io/badge/python-2.7%2C%203.4-blue.svg
.. image:: https://img.shields.io/badge/python-2.7%2C%203.4%2C%203.5%2C%203.6%2C%203.7-blue.svg
:target: https://github.com/joowani/dtags
:alt: Python Versions

.. image:: https://img.shields.io/github/issues/joowani/dtags.svg
.. image:: https://img.shields.io/github/issues/joowani/dtags.svg
:target: https://github.com/joowani/dtags/issues
:alt: Issues Open

.. image:: https://img.shields.io/badge/license-MIT-blue.svg
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
:target: https://raw.githubusercontent.com/joowani/dtags/master/LICENSE
:alt: MIT License

Expand All @@ -32,7 +32,7 @@ Installation

Check requirements:

- Python 2.7.x, 3.4.x, 3.5.x or 3.6.x
- Python 2.7, 3.4, 3.5, 3.6 or 3.7
- Supported operating systems: Linux, OS X, Ubuntu on Windows
- Recent version of `pip <https://pip.pypa.io>`__
- Recent version of Bash, Zsh or Fish with tab-completion enabled
Expand Down
2 changes: 1 addition & 1 deletion dtags/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '3.2.3'
VERSION = '3.2.4'
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ def run(self):
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Natural Language :: English',
'Topic :: Utilities',
],
Expand Down
10 changes: 0 additions & 10 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import shutil
import subprocess

import pytest

from dtags import CFG_DIR, MAPPING_FILE
from dtags.chars import TAG_CHARS
from dtags.version import VERSION
Expand Down Expand Up @@ -108,7 +106,6 @@ def run(command, shell=None):
return '\n'.join(valid_output_lines)


@pytest.mark.first
def test_init():
"""Test if the commands work as expected when no tags are defined"""
expected = 'Nothing to list\n'
Expand All @@ -121,7 +118,6 @@ def test_init():
assert run('dtags clean') == 'Nothing to clean\n'


@pytest.mark.second
def test_t():
"""Test if 'tag' works as expected."""
# Test basic argument handling
Expand Down Expand Up @@ -171,7 +167,6 @@ def test_t():
assert run('t {} {} bar baz foo'.format(dir2, tag2)) == 'Nothing to do\n'


@pytest.mark.third
def test_dtags():
"""Test if 'dtags' works as expected."""
# Test basic argument handling
Expand Down Expand Up @@ -251,7 +246,6 @@ def test_dtags():
assert run('dtags-refresh fish | source', shell='fish') == ''


@pytest.mark.fourth
def test_d():
"""Test if the 'd' command works as expected."""
# Test basic argument handling
Expand All @@ -271,7 +265,6 @@ def test_d():
assert run('d {}'.format(bad_dir)) == expected_error


@pytest.mark.fifth
def test_e():
"""Test if the 'e' command works as expected."""
# Test argument handling
Expand Down Expand Up @@ -302,7 +295,6 @@ def test_e():
assert m.format(loc='{} #foo'.format(dir2), out=dir2) in output


@pytest.mark.sixth
def test_p():
"""Test if the 'e' command works as expected."""
# Test argument handling
Expand Down Expand Up @@ -333,7 +325,6 @@ def test_p():
assert m.format(loc='{} #foo'.format(dir2), out=dir2) in output


@pytest.mark.seventh
def test_u():
"""Test if 'untag' works as expected."""
# Test basic argument handling
Expand Down Expand Up @@ -367,7 +358,6 @@ def test_u():
assert run('dtags list {} foo bar baz'.format(tag1)) == 'Nothing to list\n'


@pytest.mark.last
def test_bad_mapping():
"""Test if bad mapping is handled properly."""
assert run('dtags clean') == 'Nothing to clean\n'
Expand Down

0 comments on commit 80daf36

Please sign in to comment.