From 075c374d67b10fbfa736955627cf539b50c83b63 Mon Sep 17 00:00:00 2001 From: Dominic Ricottone Date: Tue, 13 Sep 2022 23:48:48 -0500 Subject: [PATCH] Quick fix I missed the version numbers in the **/internals.py files, and I noticed a variable name misspell in the **/__main__.py files. --- Makefile | 4 ++-- filter/__main__.py | 2 +- filter/internals.py | 2 +- pyproject.toml | 2 +- rng/__main__.py | 2 +- rng/internals.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index fe88d15..84fd3de 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=1.0.2 +VERSION=1.0.3 PY_COMPILE_BIN=python -m py_compile @@ -11,7 +11,7 @@ UNITTEST_FILE_BIN=unittest --color UNITTEST_DIR_BIN=unittest --color --working-directory . #MYPY_BIN=python -m mypy -MYPY_BIN=MYPY_CACHE_DIR=gap/__mypycache__ mypy +MYPY_BIN=MYPY_CACHE_DIR=__mypycache__ mypy #PIPX_BIN=python -m pipx PIPX_BIN=pipx diff --git a/filter/__main__.py b/filter/__main__.py index ffc3672..492f64d 100644 --- a/filter/__main__.py +++ b/filter/__main__.py @@ -15,7 +15,7 @@ def main(): internals._print_methodologies("ab", "kalman", "convolve") sys.exit(0) elif "methodology" in _config.keys(): - _method = config.get("methodology", "") + _method = _config.get("methodology", "") elif len(_positionals) > 0: _method = _positionals.pop(0) elif "help" in _config.keys(): diff --git a/filter/internals.py b/filter/internals.py index dad20e4..29a4c00 100644 --- a/filter/internals.py +++ b/filter/internals.py @@ -3,7 +3,7 @@ import sys from typing import * -VERSION = (1,0,1,) +VERSION = (1,0,3,) def _try_get_float( mapping: Dict, diff --git a/pyproject.toml b/pyproject.toml index cf652fc..480a451 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ packages = ["filter", "rng"] name = "filters" description = "Command line data filtering and generation" readme = "README.md" -version = "1.0.2" +version = "1.0.3" authors = [ { name = "Dominic Ricottone", email = "me@dominic-ricottone.com" } ] urls = { source = "git.dominic-ricottone.com/~dricottone/filters" } license = { file = "LICENSE.md" } diff --git a/rng/__main__.py b/rng/__main__.py index dccc0ce..cf56a99 100644 --- a/rng/__main__.py +++ b/rng/__main__.py @@ -15,7 +15,7 @@ def main(): internals._print_distributions("normal", "uniform", "notrandom") sys.exit(0) elif "distribution" in _config.keys(): - _dist = config.get("distribution", "") + _dist = _config.get("distribution", "") elif len(_positionals) > 0: _dist = _positionals.pop(0) elif "help" in _config.keys(): diff --git a/rng/internals.py b/rng/internals.py index 74950da..f6a490d 100644 --- a/rng/internals.py +++ b/rng/internals.py @@ -3,7 +3,7 @@ import sys from typing import * -VERSION = (1,0,1,) +VERSION = (1,0,3,) def _try_get_float( mapping: Dict, -- 2.45.2