Skip to content

Commit 16349cf

Browse files
authored
Merge pull request #25 from ApplauseOSS/chore/update-deps
chore: update pytest/flake8 packages
2 parents db81cb8 + d1574f7 commit 16349cf

File tree

5 files changed

+9
-20
lines changed

5 files changed

+9
-20
lines changed

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
steps:
1010
- uses: actions/setup-python@v2
1111
with:
12-
python-version: '3.8'
12+
python-version: '3.10'
1313
- uses: actions/checkout@v2
1414
- run: pip3 install tox
1515
- run: tox

kmsencryption/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
from kmsencryption.lib import encrypt
21
from kmsencryption.lib import decrypt
32
from kmsencryption.lib import decrypt_json
3+
from kmsencryption.lib import encrypt
44
from kmsencryption.lib import encrypt_json
55

66
__all__ = ['encrypt', 'decrypt', 'decrypt_json', 'encrypt_json']

kmsencryption/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def decrypt(data, env, path, profile, prefix, no_newline):
4141
@click.option('--prefix', 'prefix', default='',
4242
help='An input prefix to be trimmed from the beginning before a value is decrypted.')
4343
@click.option('--allow-partial', default=False, is_flag=True,
44-
help='If partially encrypted string values inside JSON are allowed. Substrings to decrypt are ' +
44+
help='If partially encrypted string values inside JSON are allowed. Substrings to decrypt are '
4545
'identified by the starting prefix and end with a whitespace or end of string.')
4646
def decrypt_json(input, profile, prefix, allow_partial):
4747
click.echo(lib.decrypt_json(input, profile, prefix, allow_partial))

requirements-dev.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
pytest==4.6.11
1+
pytest==8.3.4
22
pytest-cov==2.10.1
3-
pytest-flake8==0.6
3+
pytest-flake8==1.3.0
44
pycmd==1.2
5-
flake8==3.0.4
6-
isort==4.2.5
7-
flake8-isort==2.0.1
5+
flake8==7.1.1
6+
isort==5.13.2
7+
flake8-isort==6.1.1
88
ipython==8.10.0
99
ipdb==0.13.9

setup.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
from setuptools import find_packages
22
from setuptools import setup
3-
from setuptools.command.upload import upload
43
import os
54

6-
class ReleaseToPyPICommand(upload):
7-
8-
def finalize_options(self):
9-
self.repository = os.environ['PYPI_URL']
10-
self.username = os.environ['PYPI_USERNAME']
11-
self.password = os.environ['PYPI_PASSWORD']
12-
135
setup(
146
name='kms-encryption-toolbox',
15-
version='0.2.3',
7+
version='0.2.4',
168
url='https://github.com/ApplauseOSS/kms-encryption-toolbox',
179
license='MIT',
1810
description='Encryption toolbox to be used with the Amazon Key Management Service for securing your deployment secrets. It encapsulates the aws-encryption-sdk package to expose cmdline actions.',
@@ -33,7 +25,4 @@ def finalize_options(self):
3325
]
3426
},
3527
scripts=["kmsencryption/scripts/decrypt-and-start"],
36-
cmdclass={
37-
'release_to_pypi': ReleaseToPyPICommand
38-
}
3928
)

0 commit comments

Comments
 (0)