diff --git a/Makefile b/Makefile index eba375f..e94ea94 100644 --- a/Makefile +++ b/Makefile @@ -51,8 +51,8 @@ clean-test: ## remove test and coverage artifacts rm -fr htmlcov/ lint: ## reformat with black and check style with flake8 - isort -rc ordr3 - isort -rc tests + isort ordr3 + isort tests black ordr3 tests flake8 ordr3 tests diff --git a/ordr3/__init__.py b/ordr3/__init__.py index 951a213..48a08b1 100644 --- a/ordr3/__init__.py +++ b/ordr3/__init__.py @@ -3,7 +3,7 @@ A rewrite of our CPI ordering system. """ -__version__ = "0.0.1" +__version__ = "1.0.0" from pyramid.config import Configurator diff --git a/ordr3/scripts/migrate_to_0.1.0.sh b/ordr3/scripts/migrate_to_0.1.0.sh new file mode 100644 index 0000000..1eaa865 --- /dev/null +++ b/ordr3/scripts/migrate_to_0.1.0.sh @@ -0,0 +1,5 @@ +cp ordr3.sqlite pre-0.1.0-ordr3.sqlite +echo .dump orders | sqlite3 ordr3.sqlite > tmp_modify.sqlite +vim tmp_modify.sqlite +echo drop table orders | sqlite3 ordr3.sqlite +sqlite3 ordr3.sqlite < tmp_modify.sqlite diff --git a/pyproject.toml b/pyproject.toml index b71d2ac..3d96945 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ dev = [ "black", "flake8", "flake8-comprehensions", - "isort", + "isort >= 5.0.0", "keyring", "pre-commit", ]