Skip to content

Commit

Permalink
Autogenerated configs, auto-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxattax97 committed Aug 26, 2024
1 parent 3586168 commit c48ffa5
Show file tree
Hide file tree
Showing 8 changed files with 367 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
##### MOCULL AUTOGENERATED ### DO NOT EDIT #####
[flake8]
extend-ignore = E203
max-line-length = 88
##### END MOCULL AUTOGENERATED ### DO NOT EDIT #####
78 changes: 78 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,81 @@
/config/shell_gpt/roles/veronica.json filter=git-crypt diff=git-crypt
/config/weechat/sec.conf filter=git-crypt diff=git-crypt
/scripts/supermicro_ipmi.sh filter=git-crypt diff=git-crypt

##### MOCULL AUTOGENERATED ### DO NOT EDIT #####
# Images
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.gif filter=lfs diff=lfs merge=lfs -text
*.bmp filter=lfs diff=lfs merge=lfs -text
*.tiff filter=lfs diff=lfs merge=lfs -text
*.ico filter=lfs diff=lfs merge=lfs -text

# Audio
*.mp3 filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
*.ogg filter=lfs diff=lfs merge=lfs -text
*.m4a filter=lfs diff=lfs merge=lfs -text
*.flac filter=lfs diff=lfs merge=lfs -text

# Video
*.mp4 filter=lfs diff=lfs merge=lfs -text
*.mov filter=lfs diff=lfs merge=lfs -text
*.avi filter=lfs diff=lfs merge=lfs -text
*.flv filter=lfs diff=lfs merge=lfs -text
*.wmv filter=lfs diff=lfs merge=lfs -text
*.mpeg filter=lfs diff=lfs merge=lfs -text
*.mkv filter=lfs diff=lfs merge=lfs -text

# Archives
*.zip filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.7z filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text

# Large data
*.csv filter=lfs diff=lfs merge=lfs -text
*.json filter=lfs diff=lfs merge=lfs -text
*.xml filter=lfs diff=lfs merge=lfs -text

# Executables and libraries
*.exe filter=lfs diff=lfs merge=lfs -text
*.dll filter=lfs diff=lfs merge=lfs -text
*.so filter=lfs diff=lfs merge=lfs -text
*.dylib filter=lfs diff=lfs merge=lfs -text

# Fonts
*.ttf filter=lfs diff=lfs merge=lfs -text
*.otf filter=lfs diff=lfs merge=lfs -text

# 3D Models
*.obj filter=lfs diff=lfs merge=lfs -text
*.fbx filter=lfs diff=lfs merge=lfs -text
*.stl filter=lfs diff=lfs merge=lfs -text

# Design files
*.psd filter=lfs diff=lfs merge=lfs -text
*.ai filter=lfs diff=lfs merge=lfs -text

# Documents
*.pdf filter=lfs diff=lfs merge=lfs -text

# Packet Captures
*.pcap filter=lfs diff=lfs merge=lfs -text
*.pcapng filter=lfs diff=lfs merge=lfs -text
*.cap filter=lfs diff=lfs merge=lfs -text
*.dmp filter=lfs diff=lfs merge=lfs -text
*.5vw filter=lfs diff=lfs merge=lfs -text
*.pkt filter=lfs diff=lfs merge=lfs -text
*.net filter=lfs diff=lfs merge=lfs -text

# Various Binaries
*.bin filter=lfs diff=lfs merge=lfs -text
*.dat filter=lfs diff=lfs merge=lfs -text
*.bit filter=lfs diff=lfs merge=lfs -text
*.sqlite filter=lfs diff=lfs merge=lfs -text
*.db filter=lfs diff=lfs merge=lfs -text
##### END MOCULL AUTOGENERATED ### DO NOT EDIT #####
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
name: Lint Build Publish

on: # yamllint disable-line rule:truthy
push: null
pull_request: null

push:
pull_request:
permissions: {}

jobs:
build:
name: Lint
Expand Down
172 changes: 172 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,175 @@ config/weechat/*.log
/.blackbox/secring.gpg
/config/ranger/bookmarks
/config/weechat/script/plugins.xml.gz

##### MOCULL AUTOGENERATED ### DO NOT EDIT #####
# NOTE: You cannot add comments to the *end* of a line, only the beginning!
# https://git-scm.com/docs/gitignore

# Build directories
/bin/
/obj/
/out/
/build/
/target/

# Rust / Cargo
## These are backup files generated by rustfmt
**/*.rs.bk

## MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# IDE specific files
/.idea/
/.vscode/
*.swp
*.swo
*~
*.sublime-workspace

# Compiled source
*.com
*.class
*.dll
*.exe
*.o
*.so

# Logs and databases
*.log
*.sql
*.sqlite
logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Dependency directories
/node_modules/
/jspm_packages/
/bower_components/

## Grunt intermediate storage
.grunt

# Python
*.py[cod]
__pycache__/
*.pyc

# Virtual environments
venv/
## NOTE: Sometimes this is a file (not a directory) that acts as a pointer.
.venv

# Runtime data
pids
*.pid
*.seed
.cache/
.pytest_cache/

## mypy
.mypy_cache/

## poetry
poetry.lock

## Jupyter Notebook
.ipynb_checkpoints

## pyenv
.python-version

## pipenv
Pipfile.lock

# Coverage
## Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

## Coverage directory used by tools like istanbul
coverage

## nyc test coverage
.nyc_output

# NodeJS
## node-waf configuration
.lock-wscript

## Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

## TypeScript v1 declaration files
typings/

## Optional npm cache directory
.npm

## Optional eslint cache
.eslintcache

## TernJS port file
.tern-port

## parcel-bundler cache (https://parceljs.org/)
.cache

## Yarn Integrity file
.yarn-integrity

## next.js build output
.next

## nuxt.js build output
.nuxt

## vuepress build output
.vuepress/dist

## Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# Terraform
*.tfstate
*.tfstate.*

## Local .terraform directories
**/.terraform/*

## Ignore any .tfvars files that are generated automatically for each Terraform run. Most
## .tfvars files are managed as part of configuration and so should be included in
## version control.
##
## example.tfvars

## Ignore override files as they are usually used to override resources locally and so
## are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json
## Include override files you do wish to add to version control using negated pattern
##
## !example_override.tf

## Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
## example: *tfplan*
##### END MOCULL AUTOGENERATED ### DO NOT EDIT #####
71 changes: 70 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
##### MOCULL AUTOGENERATED ### DO NOT EDIT #####
---
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
Expand All @@ -6,7 +8,7 @@ repos:
hooks:
- id: check-json
- id: pretty-format-json
args: ["--autofix"]
args: [--autofix]
- id: check-yaml
- id: check-toml
- id: trailing-whitespace
Expand All @@ -28,3 +30,70 @@ repos:
rev: v0.9.0
hooks:
- id: shellcheck

- repo: https://github.com/ansible/ansible-lint
# put latest release tag from
# https://github.com/ansible-community/ansible-lint/releases/
rev: v24.6.1
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
args: [--fix, --format, pep8]
additional_dependencies:
- jmespath

- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
# See
# https://pycqa.github.io/isort/docs/configuration/black_compatibility.html
args: [--profile, black, --filter-files]

# This mirror is about 2x faster because it is compiled with mypyc.
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.12.1
hooks:
- id: black
args: [--line-length=88]
language_version: python3.12

# To ignore these, use `# noqa: E123` at the end of the line.
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
# See https://github.com/PyCQA/pycodestyle/issues/373
#
# We are ignoring E501 because black already takes care of line length,
# and Flake8 is trigger happy.
args:
- --max-line-length=88
- --extend-ignore=E203
- --extend-ignore=E501

# To ignore these, use `# nosec` at the end of the line.
- repo: https://github.com/PyCQA/bandit
rev: 1.7.6
hooks:
- id: bandit

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
- id: python-check-blanket-noqa
- id: python-check-mock-methods
- id: python-no-eval
- id: python-no-log-warn
- id: python-check-blanket-type-ignore

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
hooks:
- id: mypy
additional_dependencies:
- types-requests
- types-setuptools
- types-paramiko
- types-toml
##### END MOCULL AUTOGENERATED ### DO NOT EDIT #####
3 changes: 2 additions & 1 deletion .tmuxp/main.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
session_name: Main
windows:
- window_name: SYS
environment:
DISABLE_AUTO_TITLE: "true"
#focus: true
# focus: true
options:
allow-rename: false
automatic-rename: false
Expand Down
18 changes: 18 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
##### MOCULL AUTOGENERATED ### DO NOT EDIT #####
---
extends: default

rules:
# This should be 80, but it got WAY too annoying to deal with.
line-length: disable

# These rules are required by ansible-lint:
comments:
min-spaces-from-content: 1
comments-indentation: false
braces:
max-spaces-inside: 1
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
##### END MOCULL AUTOGENERATED ### DO NOT EDIT #####
Loading

0 comments on commit c48ffa5

Please sign in to comment.