Bruno BELANYI
0d04061a80
Using 'line-length=80' and flake8-bugbear's B950 warning, I respect black's formatting of 88 columns max. The T4 category is related to mypy lints, using the 'flake8-mypy` plugin. The max complexity is supposed to make you write shorter functions with less complexity, using the cyclomatic complexity heuristic. This file is almost directly taken from black's own flake8 configuration, because I'm using it as a linter and I mostly agreed with its settings.
35 lines
640 B
Bash
Executable file
35 lines
640 B
Bash
Executable file
#! /usr/bin/sh
|
|
|
|
# Configuration files
|
|
stow -t ~ X
|
|
stow -t ~ bash
|
|
stow -t ~ dunst
|
|
stow -t ~ emacs
|
|
stow -t ~ flake8
|
|
stow -t ~ git
|
|
stow -t ~ i3
|
|
stow -t ~ i3blocks
|
|
stow -t ~ ranger
|
|
stow -t ~ redshift
|
|
stow -t ~ rofi
|
|
stow -t ~ termite
|
|
stow -t ~ tridactyl
|
|
stow -t ~ vim
|
|
stow -t ~ zsh
|
|
|
|
# Create the directory if needed
|
|
mkdir -p ~/.scripts
|
|
# Scripts must be in their own directory
|
|
stow -t ~/.scripts scripts/
|
|
|
|
# Common shell files
|
|
stow -t ~ shell/
|
|
|
|
# Wallpapers
|
|
stow -t ~ wallpapers/
|
|
|
|
# Create the directory if needed
|
|
mkdir -p ~/.local/share/applications
|
|
# Symlink the '.desktop' files (btmenu needs one)
|
|
stow -t ~/.local/share/applications desktop
|