Skip to content

Commit

Permalink
Remove Python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn committed Feb 11, 2020
1 parent 0b978f4 commit 950c53b
Show file tree
Hide file tree
Showing 21 changed files with 18 additions and 32 deletions.
7 changes: 7 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
History
=======

0.2.0 (2020-02-11)
------------------

* Added experimental support for templating algorithms
* Note that the `init` cli command has changed
* Added support for Python 3.8

0.1.17 (2019-05-23)
-------------------

Expand Down
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# evalutils documentation build configuration file, created by
# sphinx-quickstart on Fri Jun 9 13:47:02 2017.
Expand Down
17 changes: 10 additions & 7 deletions evalutils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# -*- coding: utf-8 -*-

__author__ = """James Meakin"""
__email__ = "jamesmeakin@gmail.com"

from .__version__ import __version__ # noqa: F401
from .evalutils import ( # noqa: F401
from .evalutils import (
ClassificationEvaluation,
DetectionEvaluation,
Evaluation,
BaseAlgorithm,
)

__author__ = """James Meakin"""
__email__ = "jamesmeakin@gmail.com"
__all__ = [
"ClassificationEvaluation",
"DetectionEvaluation",
"Evaluation",
"BaseAlgorithm",
]
2 changes: 0 additions & 2 deletions evalutils/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

from .cli import main

if __name__ == "__main__":
Expand Down
4 changes: 1 addition & 3 deletions evalutils/__version__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

VERSION = (0, 1, 17)
VERSION = (0, 2, 0)

__version__ = ".".join(map(str, VERSION))
1 change: 0 additions & 1 deletion evalutils/annotations.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import logging

logger = logging.getLogger(__name__)
Expand Down
1 change: 0 additions & 1 deletion evalutils/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import re

from pathlib import Path
Expand Down
1 change: 0 additions & 1 deletion evalutils/evalutils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import json
import logging
from abc import ABC, abstractmethod
Expand Down
3 changes: 0 additions & 3 deletions evalutils/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-


class EvalUtilsException(Exception):
pass

Expand Down
1 change: 0 additions & 1 deletion evalutils/io.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import logging
import re
from abc import ABC, abstractmethod
Expand Down
1 change: 0 additions & 1 deletion evalutils/roc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from collections import namedtuple

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion evalutils/stats.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import gc
from collections import namedtuple
from typing import List, Optional, Tuple, Union
Expand Down
1 change: 0 additions & 1 deletion evalutils/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from pathlib import Path
import shutil

Expand Down
1 change: 0 additions & 1 deletion evalutils/validators.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from abc import ABC, abstractmethod
from pathlib import Path
from typing import Tuple
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os

Expand Down
1 change: 0 additions & 1 deletion tests/test_annotations.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import pytest

from evalutils.annotations import BoundingBox
Expand Down
2 changes: 0 additions & 2 deletions tests/test_classification_evaluation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pathlib import Path

import pytest
Expand Down
1 change: 0 additions & 1 deletion tests/test_io.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import os
from distutils.util import strtobool
from pathlib import Path
Expand Down
1 change: 0 additions & 1 deletion tests/test_roc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import numpy as np

from evalutils import roc
Expand Down
1 change: 0 additions & 1 deletion tests/test_templates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import json
import os
import platform
Expand Down
1 change: 0 additions & 1 deletion tests/test_validators.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from pathlib import Path

import pytest
Expand Down

0 comments on commit 950c53b

Please sign in to comment.