Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Change log

----
# 0.3.10
- Updated tests to depend on test-aide rather than historic Tubular helpers package

# 0.3.9
- Stripped of internal files and updated md documents

Expand Down
23 changes: 12 additions & 11 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@

import os
import sys

sys.path.insert(0, os.path.abspath("../../"))


# -- Project information -----------------------------------------------------

project = 'input_checker'
copyright = '2021, LV GI Data Science Team'
author = 'LV GI Data Science Team'
project = "input_checker"
copyright = "2021, LV GI Data Science Team"
author = "LV GI Data Science Team"

# The full version, including alpha/beta/rc tags
release = '0.3.9'
release = "0.3.9"


# -- General configuration ---------------------------------------------------
Expand All @@ -31,14 +32,14 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
'sphinx_rtd_theme'
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",
"sphinx_rtd_theme",
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand All @@ -51,9 +52,9 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
html_theme = "sphinx_rtd_theme"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ["_static"]
2 changes: 1 addition & 1 deletion input_checker/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.9"
__version__ = "0.3.10"
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
test-aide>=0.1.0
tubular>=0.2.10
pytest>=5.4.1
pytest-mock>=3.0.0
Expand Down
20 changes: 20 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import numpy as np
import pandas as pd
import pytest


@pytest.fixture
def df():
"""Create simple DataFrame to use in other tests"""

data = pd.DataFrame(
{
"a": [1, 2, 3, 4, 5, 6, np.NaN],
"b": ["a", "b", "c", "d", "e", "f", np.NaN],
"c": ["a", "b", "c", "d", "e", "f", np.NaN],
}
)

data["c"] = data["c"].astype("category")

return data
Loading