Skip to content

Commit 7b63a62

Browse files
authored
Initial Application (#6)
* Initial Application Why these changes are being made: This is the first version of the application for moving archival content from Dropbox to the NAS. Related Jira Tickets: * https://mitlibraries.atlassian.net/browse/IR-211 * WIP: README Updates Changes to README in response to PR comments. * WIP: config.py Updates Updates to the config.py file based on PR comments. * WIP: Updates to config.py * WIP: utils.py fixes * WIP: Address cli.py fixes
1 parent 79ce1f0 commit 7b63a62

24 files changed

+1906
-502
lines changed

.dockerignore

Lines changed: 0 additions & 158 deletions
This file was deleted.

.github/pull-request-template.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,36 @@
11
### Purpose and background context
2+
23
Describe the overall purpose of the PR changes and any useful background context.
34

45
### How can a reviewer manually see the effects of these changes?
6+
57
Explain how to see the proposed changes in the application if possible.
68

79
Delete this section if it isn't applicable to the PR.
810

911
### Includes new or updated dependencies?
12+
1013
YES | NO
1114

1215
### Changes expectations for external applications?
16+
1317
YES | NO
1418

1519
### What are the relevant tickets?
20+
1621
- Include links to Jira Software and/or Jira Service Management tickets here.
1722

1823
### Developer
24+
1925
- [ ] All new ENV is documented in README
2026
- [ ] All new ENV has been added to staging and production environments
2127
- [ ] All related Jira tickets are linked in commit message(s)
2228
- [ ] Stakeholder approval has been confirmed (or is not needed)
2329

2430
### Code Reviewer(s)
31+
2532
- [ ] The commit message is clear and follows our guidelines (not just this PR message)
2633
- [ ] There are appropriate tests covering any new functionality
2734
- [ ] The provided documentation is sufficient for understanding any new functionality introduced
2835
- [ ] Any manual tests have been performed **or** provided examples verified
2936
- [ ] New dependencies are appropriate or there were no changes
30-

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ cython_debug/
152152
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
153153
.idea/
154154

155-
.DS_Store
155+
**.DS_Store
156156
output/
157157
.vscode/
158+
**.testfile

Dockerfile

Lines changed: 0 additions & 12 deletions
This file was deleted.

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ update: install # Update Python dependencies
2222
######################
2323

2424
test: # Run tests and print a coverage report
25-
pipenv run coverage run --source=my_app -m pytest -vv
25+
pipenv run coverage run --source=att -m pytest -vv
2626
pipenv run coverage report -m
2727

2828
coveralls: test # Write coverage data to an LCOV report
2929
pipenv run coverage lcov -o ./coverage/lcov.info
3030

31+
3132
####################################
3233
# Code quality and safety commands
3334
####################################
@@ -47,8 +48,7 @@ safety: # Check for security vulnerabilities and verify Pipfile.lock is up-to-da
4748
pipenv run pip-audit
4849
pipenv verify
4950

50-
lint-apply: # Apply changes with 'black' and resolve 'fixable errors' with 'ruff'
51-
black-apply ruff-apply
51+
lint-apply: black-apply ruff-apply # Apply changes with 'black' and resolve 'fixable errors' with 'ruff'
5252

5353
black-apply: # Apply changes with 'black'
5454
pipenv run black .

Pipfile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,24 @@ name = "pypi"
55

66
[packages]
77
click = "*"
8-
sentry-sdk = "*"
8+
dropbox = "*"
9+
pandas = "*"
10+
types-six = "*"
911

1012
[dev-packages]
1113
black = "*"
1214
coveralls = "*"
1315
mypy = "*"
16+
pandas-stubs ="*"
17+
pip-audit = "*"
1418
pre-commit = "*"
1519
pytest = "*"
20+
pytest-mock = "*"
1621
ruff = "*"
17-
pip-audit = "*"
22+
types-requests = "*"
1823

1924
[requires]
2025
python_version = "3.12"
2126

2227
[scripts]
23-
my_app = "python -c \"from my_app.cli import main; main()\""
28+
att = "python -c \"from att.cli import cli; cli()\""

0 commit comments

Comments
 (0)