-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #889 from djlint/dev
- Loading branch information
Showing
207 changed files
with
5,623 additions
and
15,254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
[run] | ||
source = src/djlint | ||
branch = True | ||
|
||
[report] | ||
show_missing = True | ||
skip_covered = True | ||
omit = | ||
*/test* | ||
exclude_lines = ^\s*@(?:abc\.)?abstractmethod$ | ||
|
||
[run] | ||
plugins = covdefaults |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: 💬 Discord Server | ||
url: https://discord.gg/taghAqebzU | ||
about: | | ||
Chat with the community, ask questions and learn about best practices. | ||
- name: 💬 Discord Server | ||
url: https://discord.gg/taghAqebzU | ||
about: | | ||
Chat with the community, ask questions and learn about best practices. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
|
||
# Pull Request Check List | ||
|
||
Resolves: #issue-number-here | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Auto-merge updates | ||
on: pull_request | ||
permissions: | ||
contents: write | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
auto-merge-dependabot: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.repository_owner == 'djlint' && github.actor == 'dependabot[bot]' }} | ||
steps: | ||
- id: dependabot-metadata | ||
uses: dependabot/fetch-metadata@v2 | ||
- if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }} | ||
run: gh pr merge --auto --delete-branch --squash "${PR_URL}" | ||
env: | ||
PR_URL: ${{ github.event.pull_request.html_url }} | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
auto-merge-updates: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.repository_owner == 'djlint' && github.actor_id == '158576507' }} | ||
steps: | ||
- run: gh pr merge --auto --delete-branch --squash "${PR_URL}" | ||
env: | ||
PR_URL: ${{ github.event.pull_request.html_url }} | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
workflow_dispatch: | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
jobs: | ||
linkcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: npm install | ||
working-directory: docs | ||
- run: npm run build | ||
working-directory: docs | ||
- uses: untitaker/[email protected] | ||
with: | ||
args: docs/_site/ | ||
run-pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: pipx run pre-commit run --all-files | ||
run-pytest: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: | ||
- '3.8' | ||
- 3.x | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: pipx install poetry | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: poetry | ||
check-latest: true | ||
- run: poetry install --sync --no-interaction | ||
- run: poetry run --no-interaction pytest |
Oops, something went wrong.