Skip to content

Commit

Permalink
6 FILE(s) | CHANGELOG.md build_requirements_txt.py open2fa/cli.py ope...
Browse files Browse the repository at this point in the history
  • Loading branch information
cc-d committed May 17, 2024
1 parent fc17363 commit dde5d34
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 56 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## 1.4.3

fixed tests for earlier versions of python

added aliases to remote commands

github actions integration

requirements_dev.txt added, dependencies updated

removed setuptools dependency range

remove typehints breaking older python versions

## 1.4.2

Changed both logfunc and pyshared dependency ranges to be more broad to prevent possible resolver warnings/issues
Expand Down
47 changes: 0 additions & 47 deletions build_requirements_txt.py

This file was deleted.

14 changes: 10 additions & 4 deletions open2fa/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def parse_args() -> argparse.ArgumentParser:
)

remote_list = remote_subparsers.add_parser(
'list', help='List remote secrets'
'list', aliases=['l'], help='List remote secrets'
)
remote_list.add_argument(
'-s',
Expand All @@ -163,7 +163,9 @@ def parse_args() -> argparse.ArgumentParser:
)

# Init remote command
remote_subparsers.add_parser('init', help='Initialize remote capabilities')
remote_subparsers.add_parser(
'init', help='Initialize remote capabilities', aliases=['i']
)

# Info/Status remote command
parser_info = subparsers.add_parser(
Expand All @@ -180,9 +182,13 @@ def parse_args() -> argparse.ArgumentParser:
default=False,
)
# Push remote command
remote_subparsers.add_parser('push', help='Push secrets to remote')
remote_subparsers.add_parser(
'push', help='Push secrets to remote', aliases=['pus']
)
# Pull remote command
remote_subparsers.add_parser('pull', help='Pull secrets from remote')
remote_subparsers.add_parser(
'pull', help='Pull secrets from remote', aliases=['pul']
)

# Delete remote command
del_parser = remote_subparsers.add_parser(
Expand Down
2 changes: 1 addition & 1 deletion open2fa/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.4.2"
__version__ = "1.4.3"
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools>=61.0",
"setuptools",
"build"
]
build-backend = "setuptools.build_meta"
Expand All @@ -19,7 +19,7 @@ target-version = ['py37']

[project]
name = "open2fa"
version = "1.4.2"
version = "1.4.3"
authors = [
{ name="Cary Carter", email="[email protected]" },
]
Expand Down Expand Up @@ -60,7 +60,8 @@ Changelog = "https://github.com/cc-d/open2fa/blob/main/CHANGELOG.md"
dev = [
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-xdist",
"pytest-html",
"black",
"isort",
"flake8",
Expand Down
1 change: 0 additions & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ flake8
isort
pytest
pytest-cov
pytest-asyncio
pytest-xdist
pytest-html
requests
Expand Down

0 comments on commit dde5d34

Please sign in to comment.