Skip to content

Commit

Permalink
Show archived squares. (#1436)
Browse files Browse the repository at this point in the history
* Show archived squares.

* pre-commit changes

* fix test

* fix test

* Don't jump into autoupdate now

---------

Co-authored-by: pre-commit action <[email protected]>
  • Loading branch information
craiga and pre-commit action authored May 8, 2024
1 parent e73cf1c commit 0048900
Show file tree
Hide file tree
Showing 63 changed files with 4,607 additions and 2,710 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# https://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true

[*.py]
indent_size = 4

[*.html]
indent_size = 4

[Makefile]
indent_style = tab
34 changes: 17 additions & 17 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
time: "08:30"
timezone: Etc/Universal
open-pull-requests-limit: 99
allow:
- dependency-type: direct
- dependency-type: indirect
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "08:30"
timezone: Etc/Universal
open-pull-requests-limit: 99
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
time: "08:30"
timezone: Etc/Universal
open-pull-requests-limit: 99
allow:
- dependency-type: direct
- dependency-type: indirect
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "08:30"
timezone: Etc/Universal
open-pull-requests-limit: 99
22 changes: 0 additions & 22 deletions .github/workflows/js.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/json.yaml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/pre-commit-autoupdate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: pre-commit auto-update

on:
workflow_dispatch:
schedule:
- cron: "0 0/4 * * *"

jobs:
auto-update:
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/[email protected]
- name: Read Python version
run: echo PYTHON_VERSION=$(cat runtime.txt | sed "s/python-//") >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: "pip"
- name: Setup
run: |
pip install --requirement requirements.txt
- uses: browniebroke/[email protected]
continue-on-error: true
- uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: Update pre-commit repos
branch: pre-commit-update
base: main
delete-branch: true
commit-message: "pre-commit update"
33 changes: 33 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: pre-commit
on:
workflow_dispatch:
pull_request:
push:

jobs:
pre-commit:
name: pre-commit
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/[email protected]
- name: Read Python version
run: echo PYTHON_VERSION=$(cat runtime.txt | sed "s/python-//") >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: "pip"
- name: Setup
run: pip install --requirement requirements.txt
- name: pre-commit
uses: pre-commit/[email protected]
- name: Commit changed files on failure
if: ${{ failure() }}
run: |
git config user.email "[email protected]"
git config user.name "pre-commit action"
git add .
git commit --message "pre-commit changes"
git push
26 changes: 0 additions & 26 deletions .github/workflows/python.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/scss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,6 @@ on:
- "*"

jobs:
lint-scss:
name: Lint SCSS
timeout-minutes: 2
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 21
- name: Setup
run: npm ci
- name: Lint SCSS
run: npx prettier --check -- "**/*.scss"

latest-scss:
name: Test the latest SCSS was commited
timeout-minutes: 2
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/yaml.yaml

This file was deleted.

131 changes: 12 additions & 119 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,121 +1,14 @@
# Based on https://github.com/github/gitignore/blob/master/Python.gitignore

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

# Django Static Files
staticfiles/

# Where I like to put the output of `pylint --generate-rcfile`.
pylint.txt

will_of_the_prophets/fixtures/legacy_rolls.json

/node_modules/
/cypress/plugins/
/cypress/videos/
/.env
/.mypy_cache/
/.python-version
/cypress.env.json
/cypress/fixtures/
/cypress/plugins/
/cypress/screenshots/
/cypress.env.json
/cypress/videos/
/db.sqlite3
/node_modules/
/postdeploy-output.txt
/pyrightconfig.json
/staticfiles/
__pycache__
5 changes: 0 additions & 5 deletions .isort.cfg

This file was deleted.

Loading

0 comments on commit 0048900

Please sign in to comment.