Carlo Costino
86fbaee27d
Adjust positional arguments flagged by flake8-bugbear
...
The new release of flake8-bugbear is starting to flag positional argument unpacking that comes after keyword arguments in function calls as a style warning that fails. This is a good thing to catch because it can lead to unexpected side effects with function arguments and/or errors thrown by Python.
See the following links for more details:
- https://stackoverflow.com/questions/58961715/python-value-unpacking-order-in-method-parameters
- https://github.com/python/cpython/issues/82741
This changeset fixes a couple of instances where the positional argument unpacking was happening after keyword arguments were being provided.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-11-29 09:39:44 -05:00
Steven Reilly
ff8e1b9c79
Merge pull request #954 from GSA/update-cryptography
...
Update cryptography dependency
2023-11-29 09:26:09 -05:00
Carlo Costino
fdcd5a57e7
Update cryptography dependency
...
This changeset updates the cryptography dependency to address a pip-audit finding.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-11-28 17:43:26 -05:00
Carlo Costino
6556c1451c
Merge pull request #941 from GSA/dependabot/pip/moto-4.2.10
...
Bump moto from 4.2.9 to 4.2.10
2023-11-28 15:03:35 -05:00
dependabot[bot]
f42af3ae5b
Bump moto from 4.2.9 to 4.2.10
...
Bumps [moto](https://github.com/getmoto/moto ) from 4.2.9 to 4.2.10.
- [Release notes](https://github.com/getmoto/moto/releases )
- [Changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getmoto/moto/compare/4.2.9...4.2.10 )
---
updated-dependencies:
- dependency-name: moto
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-28 19:49:21 +00:00
Carlo Costino
3cab3ac1a4
Merge pull request #940 from GSA/update-utils-022
...
Update utils to 0.2.2
2023-11-28 14:43:29 -05:00
Carlo Costino
6e527602bd
Merge pull request #947 from GSA/945-upload-csv-not-working
...
945 - Fixed the javascript so it's not breaking every page
2023-11-27 17:46:09 -05:00
Carlo Costino
479e455ab1
Merge pull request #946 from GSA/stvnrlly/gtm-script-src
...
Add GTM to CSP sources
2023-11-27 17:44:46 -05:00
Steven Reilly
911552b858
update test instead of not updating test
2023-11-27 16:26:22 -05:00
Jonathan Bobel
c611fe38c9
945 - Fixed the javascript so it's not breaking every page this element is not on
2023-11-27 16:19:54 -05:00
Steven Reilly
ff44be5279
add gtm to csp sources
2023-11-27 16:16:27 -05:00
Kenneth Kehl
d10d3f7c00
maybe fix tests? Or else calculations are all wrong
2023-11-22 12:37:57 -08:00
Carlo Costino
8c7db5d7e1
Update utils to 0.2.2
...
This changeset updates the notification-utils reference to the latest release, 0.2.2.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-11-22 14:50:03 -05:00
Carlo Costino
74ace43668
Merge pull request #939 from GSA/update-readme-and-setup
...
Update README with new instructions and improve setup
2023-11-22 14:27:56 -05:00
Carlo Costino
3aa5f3415e
Updated README title
...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-11-22 14:10:03 -05:00
Carlo Costino
4d56d4e186
Updated poetry.lock file
...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-11-22 14:08:03 -05:00
Carlo Costino
d2891042b4
Added pre-commit git hooks into the project
...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-11-22 14:05:23 -05:00
Carlo Costino
40de352f9e
Update README with new instructions and improve setup
...
This changeset updates the README.md file with a set of entirely new instructions. These updates are intended to improve clarity, simplify steps, and reduce confusion and environment-setup gotchas that folks have run into previously and we have learned from. A couple of other changes are also included:
- Minor adjustments to the Makefile to improve make bootstrap
- Updates to the sample.env file to include previously missing required environment variables and/or information
- Additional support for Python virtual environments
- Removes tracking of the .python-version file used by pyenv
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-11-22 14:05:20 -05:00
Carlo Costino
614545c1b4
Merge pull request #851 from GSA/notify-786
...
Remove notify from senders message flow
2023-11-22 14:01:39 -05:00
Andrew Shumway
984f435075
Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-786
2023-11-22 11:55:57 -07:00
Andrew Shumway
3d0460a9ee
Revert missing logic
2023-11-22 11:55:40 -07:00
Kenneth Kehl
7e33178b1c
Merge pull request #929 from GSA/notify-admin-861
...
Change timezone displays to Eastern time
2023-11-22 10:49:16 -08:00
Kenneth Kehl
723f83f164
Merge pull request #877 from GSA/notify-admin-338
...
initial for login.gov integration
2023-11-22 10:11:46 -08:00
Andrew Shumway
9bc3602461
Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-786
2023-11-22 11:06:32 -07:00
Andrew Shumway
53a3f4c852
Remove unnecessary logic/fix tests
2023-11-22 11:06:15 -07:00
Carlo Costino
4571a8bd15
Apply suggestions from code review
...
Updating variable name from et to preferred_tz
2023-11-22 13:06:04 -05:00
Kenneth Kehl
e55a9273bf
code review feedback
2023-11-22 08:28:07 -08:00
Kenneth Kehl
ad0ed0d6fb
merge from main
2023-11-22 08:21:34 -08:00
Kenneth Kehl
425f8eb742
code review feedback
2023-11-22 08:09:28 -08:00
Carlo Costino
d0fe4de3ac
Merge pull request #938 from GSA/dependabot/pip/humanize-4.9.0
...
Bump humanize from 4.8.0 to 4.9.0
2023-11-22 09:39:15 -05:00
dependabot[bot]
a6ea9fd25c
Bump humanize from 4.8.0 to 4.9.0
...
Bumps [humanize](https://github.com/python-humanize/humanize ) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/python-humanize/humanize/releases )
- [Commits](https://github.com/python-humanize/humanize/compare/4.8.0...4.9.0 )
---
updated-dependencies:
- dependency-name: humanize
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-22 14:33:13 +00:00
Carlo Costino
9959f53956
Merge pull request #937 from GSA/dependabot/pip/pytest-xdist-3.5.0
...
Bump pytest-xdist from 3.4.0 to 3.5.0
2023-11-22 09:31:32 -05:00
dependabot[bot]
ce21df6048
Bump pytest-xdist from 3.4.0 to 3.5.0
...
Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases )
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.4.0...v3.5.0 )
---
updated-dependencies:
- dependency-name: pytest-xdist
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-22 14:15:17 +00:00
Carlo Costino
8432ac2334
Merge pull request #936 from GSA/dependabot/pip/exceptiongroup-1.2.0
...
Bump exceptiongroup from 1.1.3 to 1.2.0
2023-11-22 09:12:26 -05:00
dependabot[bot]
2178659d31
Bump exceptiongroup from 1.1.3 to 1.2.0
...
Bumps [exceptiongroup](https://github.com/agronholm/exceptiongroup ) from 1.1.3 to 1.2.0.
- [Release notes](https://github.com/agronholm/exceptiongroup/releases )
- [Changelog](https://github.com/agronholm/exceptiongroup/blob/main/CHANGES.rst )
- [Commits](https://github.com/agronholm/exceptiongroup/compare/1.1.3...1.2.0 )
---
updated-dependencies:
- dependency-name: exceptiongroup
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-21 23:31:43 +00:00
Kenneth Kehl
2bd38182d2
code review feedback
2023-11-21 13:40:00 -08:00
Carlo Costino
84a05994b2
Merge pull request #928 from GSA/927-fix-math-on-dashboard
...
927 - Updates to math in Dashboard area
2023-11-21 16:09:41 -05:00
Jonathan Bobel
e4c97e925f
Adding a test for the dashboard usage area
2023-11-21 15:38:41 -05:00
Jonathan Bobel
077b1b8ed9
Updated utils
2023-11-20 13:45:35 -05:00
Jonathan Bobel
bc6f13dc06
Merge branch 'main' of https://github.com/GSA/notifications-admin into 927-fix-math-on-dashboard
2023-11-20 12:48:14 -05:00
Andrew Shumway
450be48e9c
Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-786
2023-11-20 10:39:55 -07:00
Andrew Shumway
e7a3b98fff
Refactor list comprehension
2023-11-20 10:39:39 -07:00
Andrew Shumway
f51d4be8de
Add tests with notify.gov/usnotify as default
2023-11-20 10:06:17 -07:00
Carlo Costino
6a91627c6b
Merge pull request #934 from GSA/dependabot/pip/newrelic-9.2.0
...
Bump newrelic from 9.1.2 to 9.2.0
2023-11-20 11:25:18 -05:00
dependabot[bot]
f922331040
Bump newrelic from 9.1.2 to 9.2.0
...
Bumps [newrelic](https://github.com/newrelic/newrelic-python-agent ) from 9.1.2 to 9.2.0.
- [Release notes](https://github.com/newrelic/newrelic-python-agent/releases )
- [Commits](https://github.com/newrelic/newrelic-python-agent/compare/v9.1.2...v9.2.0 )
---
updated-dependencies:
- dependency-name: newrelic
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-17 23:55:51 +00:00
Carlo Costino
3ad901278d
Merge pull request #930 from GSA/dependabot/pip/moto-4.2.9
...
Bump moto from 4.2.8 to 4.2.9
2023-11-17 15:11:05 -05:00
Andrew Shumway
5d97856a81
Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-786
2023-11-17 11:19:50 -07:00
Andrew Shumway
654b406827
Added/fixed tests to remove notify from message flow
2023-11-17 11:19:26 -07:00
dependabot[bot]
8d6c99e5ee
Bump moto from 4.2.8 to 4.2.9
...
Bumps [moto](https://github.com/getmoto/moto ) from 4.2.8 to 4.2.9.
- [Release notes](https://github.com/getmoto/moto/releases )
- [Changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getmoto/moto/compare/4.2.8...4.2.9 )
---
updated-dependencies:
- dependency-name: moto
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-16 23:21:31 +00:00
Kenneth Kehl
654557e793
fix
2023-11-16 12:47:47 -08:00