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
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -1,18 +1,19 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README.md'
|
- "README.md"
|
||||||
- 'LICENSE.md'
|
- "LICENSE.md"
|
||||||
- '.gitignore'
|
- ".gitignore"
|
||||||
- 'CODEOWNERS'
|
- "CODEOWNERS"
|
||||||
- 'renovate.json'
|
- "renovate.json"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
uses: luketainton/gha-workflows/.github/workflows/ci-python.yml@main
|
uses: luketainton/gha-workflows/.github/workflows/ci-python.yml@main
|
||||||
secrets:
|
secrets:
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
"""Get 6to4 address from IPv4 address."""
|
"""Get 6to4 address from IPv4 address."""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import sentry_sdk
|
|
||||||
|
|
||||||
|
|
||||||
def parse_args(): # pragma: no cover
|
def parse_args(): # pragma: no cover
|
||||||
@@ -21,7 +20,7 @@ def parse_args(): # pragma: no cover
|
|||||||
|
|
||||||
|
|
||||||
def ipv4_to_ipv6(ipv4):
|
def ipv4_to_ipv6(ipv4):
|
||||||
"""COnvert IPv4 address to IPv6."""
|
"""Convert IPv4 address to IPv6."""
|
||||||
ipv4_hex = ""
|
ipv4_hex = ""
|
||||||
ipv6_hextets = ["", ""]
|
ipv6_hextets = ["", ""]
|
||||||
|
|
||||||
@@ -54,8 +53,6 @@ def ipv4_to_ipv6(ipv4):
|
|||||||
def main(): # pragma: no cover
|
def main(): # pragma: no cover
|
||||||
"""Main function."""
|
"""Main function."""
|
||||||
|
|
||||||
sentry_sdk.init("https://14fab091f12c45d299569dcefd1bd716@app.glitchtip.com/1704")
|
|
||||||
|
|
||||||
ipv4 = parse_args().address
|
ipv4 = parse_args().address
|
||||||
output = ipv4_to_ipv6(ipv4)
|
output = ipv4_to_ipv6(ipv4)
|
||||||
print(output)
|
print(output)
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
sentry-sdk
|
|
||||||
|
|||||||
Reference in New Issue
Block a user