• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-config-service / 7696705566

29 Jan 2024 01:17PM UTC coverage: 99.889%. Remained the same
7696705566

Pull #1033

github

web-flow
Bump types-requests from 2.31.0.20240106 to 2.31.0.20240125

Bumps [types-requests](https://github.com/python/typeshed) from 2.31.0.20240106 to 2.31.0.20240125.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #1033: Bump types-requests from 2.31.0.20240106 to 2.31.0.20240125

4494 of 4499 relevant lines covered (99.89%)

1.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/chains/apps.py
1
from django.apps import AppConfig
1✔
2
from django.conf import settings
1✔
3
from django.core.exceptions import ImproperlyConfigured
1✔
4

5

6
def _validate_storage_setup() -> None:
1✔
7
    if (
8
        settings.DEFAULT_FILE_STORAGE == "storages.backends.s3boto3.S3Boto3Storage"
1✔
9
        and settings.AWS_ACCESS_KEY_ID is None
1✔
10
        and settings.AWS_SECRET_ACCESS_KEY is None
1✔
11
        and settings.AWS_STORAGE_BUCKET_NAME is None
1✔
12
    ):
13
        raise ImproperlyConfigured("Storage set to S3 but AWS is not configured")
1✔
14

15

16
class AppsConfig(AppConfig):
1✔
17
    default_auto_field = "django.db.models.BigAutoField"
1✔
18
    name = "chains"
1✔
19

20
    def ready(self) -> None:
1✔
21
        import chains.signals  # noqa: F401
1✔
22

23
        # This application depends on S3 configuration (if set)
24
        # so we validate if its django.conf.settings contains the required parameters
25
        _validate_storage_setup()
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc