Add Dependabot
This commit is contained in:
1
.github/CODEOWNERS
vendored
Normal file
1
.github/CODEOWNERS
vendored
Normal file
@@ -0,0 +1 @@
|
||||
* @luketainton
|
||||
44
.github/dependabot.yml
vendored
Normal file
44
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
assignees:
|
||||
- "luketainton"
|
||||
reviewers:
|
||||
- "luketainton"
|
||||
commit-message:
|
||||
prefix: "chore(actions)"
|
||||
include: "scope"
|
||||
labels:
|
||||
- "dependencies"
|
||||
|
||||
- package-ecosystem: "docker"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
assignees:
|
||||
- "luketainton"
|
||||
reviewers:
|
||||
- "luketainton"
|
||||
commit-message:
|
||||
prefix: "chore(docker)"
|
||||
include: "scope"
|
||||
labels:
|
||||
- "dependencies"
|
||||
|
||||
- package-ecosystem: "pip"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
assignees:
|
||||
- "luketainton"
|
||||
reviewers:
|
||||
- "luketainton"
|
||||
commit-message:
|
||||
prefix: "chore(pip-prod)"
|
||||
prefix-development: "chore(pip-dev)"
|
||||
include: "scope"
|
||||
labels:
|
||||
- "dependencies"
|
||||
0
renovate.json → .github/renovate.json
vendored
0
renovate.json → .github/renovate.json
vendored
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -5,14 +5,15 @@ on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
- 'LICENSE.md'
|
||||
- '.gitignore'
|
||||
- 'CODEOWNERS'
|
||||
- 'renovate.json'
|
||||
- "README.md"
|
||||
- "LICENSE.md"
|
||||
- ".gitignore"
|
||||
- "CODEOWNERS"
|
||||
- "renovate.json"
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
uses: luketainton/gha-workflows/.github/workflows/ci-python.yml@main
|
||||
secrets:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"""Get 6to4 address from IPv4 address."""
|
||||
|
||||
import argparse
|
||||
import sentry_sdk
|
||||
|
||||
|
||||
def parse_args(): # pragma: no cover
|
||||
@@ -21,7 +20,7 @@ def parse_args(): # pragma: no cover
|
||||
|
||||
|
||||
def ipv4_to_ipv6(ipv4):
|
||||
"""COnvert IPv4 address to IPv6."""
|
||||
"""Convert IPv4 address to IPv6."""
|
||||
ipv4_hex = ""
|
||||
ipv6_hextets = ["", ""]
|
||||
|
||||
@@ -54,8 +53,6 @@ def ipv4_to_ipv6(ipv4):
|
||||
def main(): # pragma: no cover
|
||||
"""Main function."""
|
||||
|
||||
sentry_sdk.init("https://14fab091f12c45d299569dcefd1bd716@app.glitchtip.com/1704")
|
||||
|
||||
ipv4 = parse_args().address
|
||||
output = ipv4_to_ipv6(ipv4)
|
||||
print(output)
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
sentry-sdk
|
||||
|
||||
Reference in New Issue
Block a user