mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-21 05:47:20 +02:00
Compare commits
No commits in common. "fccdceda633389200c84425fad4b9dca33b5b3a6" and "4207af146a7ac84f798d86566e39ab7f1cffa02f" have entirely different histories.
fccdceda63
...
4207af146a
12
.gitattributes
vendored
12
.gitattributes
vendored
@ -1,12 +1,4 @@
|
|||||||
* text=auto eol=lf linguist-detectable
|
* text=auto eol=lf linguist-detectable
|
||||||
|
|
||||||
# Built-in diff patterns (disabled by default).
|
# bash scripts are most likely ran on Linux so they have lf endings
|
||||||
*.{md,markdown} diff=markdown eol=lf
|
*.bash text eol=lf
|
||||||
*.{sh,bash,zsh} diff=bash eol=lf
|
|
||||||
*.bibtex diff=bibtex
|
|
||||||
*.java diff=java
|
|
||||||
*.pl diff=perl
|
|
||||||
*.php diff=php
|
|
||||||
*.py diff=python
|
|
||||||
*.rb diff=ruby
|
|
||||||
*.{scm,ss} diff=scheme
|
|
||||||
|
@ -61,12 +61,10 @@ repos:
|
|||||||
rev: v3.15.0
|
rev: v3.15.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py311-plus]
|
|
||||||
- repo: https://github.com/asottile/reorder-python-imports
|
- repo: https://github.com/asottile/reorder-python-imports
|
||||||
rev: v3.12.0
|
rev: v3.12.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: reorder-python-imports
|
- id: reorder-python-imports
|
||||||
args: [--py311-plus]
|
|
||||||
- repo: https://github.com/asottile/add-trailing-comma
|
- repo: https://github.com/asottile/add-trailing-comma
|
||||||
rev: v3.1.0
|
rev: v3.1.0
|
||||||
hooks:
|
hooks:
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# This is just a quick script to install Limnoria alongside optional
|
|
||||||
# dependencies and dependencies of the plugins or repositories I use.
|
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
PYTHON=python3
|
|
||||||
|
|
||||||
mkdir -p ~/venv
|
|
||||||
$PYTHON -m venv ~/venv
|
|
||||||
. ~/venv/bin/activate
|
|
||||||
$PYTHON -m pip install git+https://github.com/ProgVal/Limnoria.git@testing --upgrade
|
|
||||||
$PYTHON -m pip install -r https://github.com/progval/Limnoria/raw/testing/requirements.txt --upgrade
|
|
||||||
$PYTHON -m pip install -r https://github.com/progval/Supybot-plugins/raw/master/requirements.txt --upgrade
|
|
||||||
$PYTHON -m pip install -r https://github.com/jlu5/SupyPlugins/raw/master/requirements.txt --upgrade
|
|
||||||
$PYTHON -m pip install -r https://github.com/oddluck/limnoria-plugins/raw/master/requirements.txt --upgrade
|
|
||||||
|
|
||||||
# Removes duplicates from $PATH. Copied from https://unix.stackexchange.com/a/14896
|
|
||||||
PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS; printf $a[$1]}')
|
|
||||||
printf "Remember to apply the following somewhere appropiate:\nPATH=$PATH\n"
|
|
||||||
|
|
||||||
set +x
|
|
Loading…
x
Reference in New Issue
Block a user