From cf820e075817f6ae990cef687fdac4313abd0a81 Mon Sep 17 00:00:00 2001 From: Andrew Pennebaker Date: Thu, 3 Oct 2024 21:53:54 -0500 Subject: [PATCH] up --- .gitignore | 196 +++++++++++++++++++++++++++++++++++++++++------------ build | 7 +- install | 4 +- 3 files changed, 156 insertions(+), 51 deletions(-) diff --git a/.gitignore b/.gitignore index 98b74b0..eed3a8c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ - -# Created by https://www.gitignore.io/api/direnv,python,ruby,node,maven,gradle,eclipse -# Edit at https://www.gitignore.io/?templates=direnv,python,ruby,node,maven,gradle,eclipse +# Created by https://www.toptal.com/developers/gitignore/api/direnv,python,ruby,node,maven,gradle,eclipse +# Edit at https://www.toptal.com/developers/gitignore?templates=direnv,python,ruby,node,maven,gradle,eclipse ### direnv ### .direnv @@ -57,22 +56,19 @@ local.properties # Annotation Processing .apt_generated/ +.apt_generated_test/ # Scala IDE specific (Scala & Java development for Eclipse) .cache-main .scala_dependencies .worksheet -### Eclipse Patch ### -# Eclipse Core -.project - -# JDT-specific (Eclipse Java Development Tools) -.classpath - -# Annotation Processing -.apt_generated +# Uncomment this line if you wish to ignore the project description file. +# Typically, this file would be tracked if it contains build/dependency configurations: +#.project +### Eclipse Patch ### +# Spring Boot Tooling .sts4-cache/ ### Maven ### @@ -85,8 +81,14 @@ release.properties dependency-reduced-pom.xml buildNumber.properties .mvn/timing.properties +# https://github.com/takari/maven-wrapper#usage-without-binary-jar .mvn/wrapper/maven-wrapper.jar -.flattened-pom.xml + +# Eclipse m2e generated files +# Eclipse Core +.project +# JDT-specific (Eclipse Java Development Tools) +.classpath ### Node ### # Logs @@ -96,6 +98,7 @@ npm-debug.log* yarn-debug.log* yarn-error.log* lerna-debug.log* +.pnpm-debug.log* # Diagnostic reports (https://nodejs.org/api/report.html) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json @@ -132,8 +135,8 @@ build/Release node_modules/ jspm_packages/ -# TypeScript v1 declaration files -typings/ +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ # TypeScript cache *.tsbuildinfo @@ -144,6 +147,15 @@ typings/ # Optional eslint cache .eslintcache +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + # Optional REPL history .node_repl_history @@ -153,34 +165,40 @@ typings/ # Yarn Integrity file .yarn-integrity -# dotenv environment variables file +# dotenv environment variable files .env -.env.test +.env.development.local +.env.test.local +.env.production.local +.env.local # parcel-bundler cache (https://parceljs.org/) .cache +.parcel-cache -# next.js build output +# Next.js build output .next +out -# nuxt.js build output +# Nuxt.js build / generate output .nuxt +dist -# rollup.js default build output -dist/ - -# Uncomment the public line if your project uses Gatsby +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js # https://nextjs.org/blog/next-9-1#public-directory-support -# https://create-react-app.dev/docs/using-the-public-folder/#docsNav # public -# Storybook build outputs -.out -.storybook-out - # vuepress build output .vuepress/dist +# vuepress v2.x temp and cache directory +.temp + +# Docusaurus cache and generated files +.docusaurus + # Serverless directories .serverless/ @@ -190,8 +208,27 @@ dist/ # DynamoDB Local files .dynamodb/ -# Temporary folders -temp/ +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +### Node Patch ### +# Serverless Webpack directories +.webpack/ + +# Optional stylelint cache + +# SvelteKit build / generate output +.svelte-kit ### Python ### # Byte-compiled / optimized / DLL files @@ -206,6 +243,7 @@ __pycache__/ .Python build/ develop-eggs/ +dist/ downloads/ eggs/ .eggs/ @@ -215,7 +253,6 @@ parts/ sdist/ var/ wheels/ -pip-wheel-metadata/ share/python-wheels/ *.egg-info/ .installed.cfg @@ -241,13 +278,24 @@ htmlcov/ nosetests.xml coverage.xml *.cover +*.py,cover .hypothesis/ .pytest_cache/ +cover/ # Translations *.mo *.pot +# Django stuff: +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + # Scrapy stuff: .scrapy @@ -255,9 +303,19 @@ coverage.xml docs/_build/ # PyBuilder +.pybuilder/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py # pyenv -.python-version +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. @@ -266,12 +324,39 @@ docs/_build/ # install all needed dependencies. #Pipfile.lock -# celery beat schedule file +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + +# pdm +# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. +#pdm.lock +# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it +# in version control. +# https://pdm.fming.dev/#use-with-ide +.pdm.toml + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm +__pypackages__/ + +# Celery stuff celerybeat-schedule +celerybeat.pid # SageMath parsed files *.sage.py +# Environments +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + # Spyder project settings .spyderproject .spyproject @@ -279,10 +364,6 @@ celerybeat-schedule # Rope project settings .ropeproject -# Mr Developer -.mr.developer.cfg -.pydevproject - # mkdocs documentation /site @@ -294,10 +375,33 @@ dmypy.json # Pyre type checker .pyre/ +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# PyCharm +# JetBrains specific template is maintained in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ + +### Python Patch ### +# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration +poetry.toml + +# ruff +.ruff_cache/ + +# LSP config files +pyrightconfig.json + ### Ruby ### *.gem *.rbc -# /.config +/.config /coverage/ /InstalledFiles /pkg/ @@ -347,12 +451,13 @@ build-iPhoneSimulator/ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this: .rvmrc -### Ruby Patch ### # Used by RuboCop. Remote config files pulled in from inherit_from directive. # .rubocop-https?--* ### Gradle ### .gradle +**/build/ +!src/**/build/ # Ignore Gradle GUI config gradle-app.setting @@ -360,13 +465,18 @@ gradle-app.setting # Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) !gradle-wrapper.jar +# Avoid ignore Gradle wrappper properties +!gradle-wrapper.properties + # Cache of project .gradletasknamecache -# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898 -# gradle/wrapper/gradle-wrapper.properties +# Eclipse Gradle plugin generated files +# Eclipse Core +# JDT-specific (Eclipse Java Development Tools) ### Gradle Patch ### -**/build/ +# Java heap dump +*.hprof -# End of https://www.gitignore.io/api/direnv,python,ruby,node,maven,gradle,eclipse +# End of https://www.toptal.com/developers/gitignore/api/direnv,python,ruby,node,maven,gradle,eclipse diff --git a/build b/build index 55fa07f..a630de6 100755 --- a/build +++ b/build @@ -15,12 +15,11 @@ lint() { shellcheck shfmt slick - yamllint } bashate() { stank -print0 -exInterp zsh . | - xargs -0 -n 1 bashate -i E006 + xargs -0 -n 1 .venv/bin/bashate -i E006 } funk() { @@ -52,10 +51,6 @@ snyk() { command snyk test --command=.venv/bin/python3 } -yamllint() { - command yamllint -s .yamllint . -} - if [ "$#" -eq 0 ]; then "$DEFAULT_TASK" exit diff --git a/install b/install index f4fbe07..34d995e 100755 --- a/install +++ b/install @@ -2,8 +2,8 @@ unset IFS set -euf -go install github.com/mcandre/slick/cmd/slick@v0.0.6 -go install github.com/mcandre/stank/...@v0.0.27 +go install github.com/mcandre/slick/cmd/slick@v0.0.10 +go install github.com/mcandre/stank/...@v0.0.30 go install mvdan.cc/sh/v3/cmd/shfmt@v3.7.0 go mod tidy