Skip to content

Commit

Permalink
Merge branch 'release-v0.4.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
fedejaure committed Jul 26, 2021
2 parents 304bd63 + db5dd7d commit 7620ed5
Show file tree
Hide file tree
Showing 21 changed files with 873 additions and 414 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[bumpversion]
commit = True
tag = False
current_version = 0.4.0
current_version = 0.4.1

[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
name: 🐛 Bug report
about: Create a report to help us improve
labels: bug
assignees: ''

---

## Expected Behavior


Expand Down
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
blank_issues_enabled: false
contact_links: []
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: 🚀 Feature request
about: Suggest an idea for this project
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
interval: "monthly"
time: "08:00"
timezone: "Europe/Amsterdam"
labels:
Expand All @@ -14,7 +14,7 @@ updates:
- package-ecosystem: pip
directory: "/docs"
schedule:
interval: daily
interval: "monthly"
time: "08:00"
timezone: "Europe/Amsterdam"
labels:
Expand All @@ -25,7 +25,7 @@ updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
interval: "monthly"
time: "08:00"
timezone: "Europe/Amsterdam"
labels:
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: "CodeQL"

on:
push:
branches:
- main
- develop
pull_request:
branches:
- develop
schedule:
- cron: '0 6 1 * *'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'python' ]

steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
44 changes: 44 additions & 0 deletions .github/workflows/pre-commit-autoupdate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: "Pre-commit autoupdate"

on:
schedule:
- cron: '0 6 1 * *'
workflow_dispatch:

jobs:
autoupdate:
name: autoupdate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
with:
ref: develop

- name: Set up Python 3.7
uses: actions/setup-python@v2.2.2
with:
python-version: 3.7

- name: Install pre-commit
run: pip install pre-commit

- name: Run autoupdate
run: pre-commit autoupdate

- name: Run pre-commit
run: pre-commit run --all-files

- uses: peter-evans/create-pull-request@v3.10.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: chore-update-pre-commit-hooks
title: Update pre-commit hooks
commit-message: "Update pre-commit hooks"
body: |
# Update pre-commit hooks
- Update pre-commit hooks to the latest version.
delete-branch: true
labels: |
dependencies
python
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2.3.4

- name: Set up Python 3.6
uses: actions/setup-python@v2.2.1
uses: actions/setup-python@v2.2.2
with:
python-version: 3.6

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2.3.4

- name: Set up Python 3.6
uses: actions/setup-python@v2.2.1
uses: actions/setup-python@v2.2.2
with:
python-version: 3.6

Expand All @@ -38,7 +38,7 @@ jobs:
- uses: actions/checkout@v2.3.4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2.2.1
uses: actions/setup-python@v2.2.2
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -63,7 +63,7 @@ jobs:
run: nox --force-color -s safety

- name: Upload coverage data
uses: actions/upload-artifact@v2.2.2
uses: actions/upload-artifact@v2.2.4
with:
name: coverage-data
path: ".coverage.*"
Expand All @@ -75,7 +75,7 @@ jobs:
- uses: actions/checkout@v2.3.4

- name: Set up Python 3.6
uses: actions/setup-python@v2.2.1
uses: actions/setup-python@v2.2.2
with:
python-version: 3.6

Expand All @@ -87,7 +87,7 @@ jobs:
poetry config virtualenvs.in-project true
- name: Download coverage data
uses: actions/download-artifact@v2.0.8
uses: actions/download-artifact@v2.0.10
with:
name: coverage-data

Expand All @@ -97,6 +97,6 @@ jobs:
nox --force-color --session=coverage -- --fmt xml
- name: Upload coverage report
uses: codecov/codecov-action@v1.3.1
uses: codecov/codecov-action@v2.0.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: check-json
- id: end-of-file-fixer
- repo: https://github.com/timothycrosley/isort
rev: 5.8.0
rev: 5.9.2
hooks:
- id: isort
- repo: https://github.com/psf/black
Expand All @@ -27,14 +27,14 @@ repos:
types: [python]
require_serial: true
additional_dependencies: [
'flake8>=3.8.4',
'flakehell>=0.6.1',
'flake8-builtins>=1.5.3',
'flake8-blind-except>=0.2.0',
'flake8-logging-format>=0.6.0',
'flake8-bugbear>=21.3.2',
'flake8-annotations>=2.6.1',
'flake8-docstrings>=1.6.0',
'flake8-bandit>=2.1.2',
'darglint>=1.7.0'
'flake8~=3.9.2',
'flakehell~=0.9.0',
'flake8-builtins~=1.5.3',
'flake8-blind-except~=0.2.0',
'flake8-logging-format~=0.6.0',
'flake8-bugbear~=21.4.3',
'flake8-annotations~=2.6.2',
'flake8-docstrings~=1.6.0',
'flake8-bandit~=2.1.2',
'darglint~=1.8.0'
]
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.4.1] - 2021-07-26
### Changed
- Update dependencies.

## [0.4.0] - 2021-03-28
### Added
- `delay-startup` option to the `blink` command.
Expand All @@ -27,7 +31,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- First release on PyPI.

[Unreleased]: https://github.com/fedejaure/mdns-beacon/compare/v0.4.0...develop
[Unreleased]: https://github.com/fedejaure/mdns-beacon/compare/v0.4.1...develop
[0.4.1]: https://github.com/fedejaure/mdns-beacon/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/fedejaure/mdns-beacon/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/fedejaure/mdns-beacon/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/fedejaure/mdns-beacon/compare/v0.1.0...v0.2.0
Expand Down
Loading

0 comments on commit 7620ed5

Please sign in to comment.