Skip to content

Commit bef9ccd

Browse files
committed
🔨 Add shell.nix
1 parent 11b4fd3 commit bef9ccd

File tree

2 files changed

+30
-27
lines changed

2 files changed

+30
-27
lines changed

‎.pre-commit-config.yaml‎

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.4.0
4+
rev: v5.0.0
55
hooks:
66
- id: check-added-large-files
77
- id: fix-byte-order-marker
@@ -21,11 +21,11 @@ repos:
2121
- id: check-toml
2222
- id: check-json
2323
- repo: https://github.com/Lucas-C/pre-commit-hooks
24-
rev: v1.5.4
24+
rev: v1.5.5
2525
hooks:
2626
- id: remove-crlf
2727
- repo: https://github.com/codespell-project/codespell
28-
rev: v2.2.5
28+
rev: v2.3.0
2929
hooks:
3030
- id: codespell
3131
additional_dependencies:
@@ -37,19 +37,19 @@ repos:
3737
args:
3838
- --msg-filename
3939
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
40-
rev: 2.7.2
40+
rev: 3.0.3
4141
hooks:
4242
- id: editorconfig-checker
4343
- repo: https://github.com/jumanjihouse/pre-commit-hooks
4444
rev: 3.0.0
4545
hooks:
4646
- id: check-mailmap
4747
- repo: https://github.com/adrienverge/yamllint
48-
rev: v1.32.0
48+
rev: v1.35.1
4949
hooks:
5050
- id: yamllint
5151
- repo: https://github.com/executablebooks/mdformat
52-
rev: 0.7.16
52+
rev: 0.7.19
5353
hooks:
5454
- id: mdformat
5555
additional_dependencies:
@@ -59,36 +59,24 @@ repos:
5959
- mdformat-toc
6060
- mdformat-deflist
6161
- mdformat-beautysh
62-
- mdformat-black
62+
- mdformat-ruff
6363
- mdformat-config
64+
- mdformat-web
6465
- repo: https://github.com/DavidAnson/markdownlint-cli2
65-
rev: v0.8.1
66+
rev: v0.16.0
6667
hooks:
6768
- id: markdownlint-cli2
6869
additional_dependencies:
69-
- markdown-it-texmath@0.9.1
70-
- repo: https://github.com/psf/black
71-
rev: 23.7.0
70+
- markdown-it-texmath
71+
- repo: https://github.com/astral-sh/ruff-pre-commit
72+
rev: v0.8.2
7273
hooks:
73-
- id: black
74-
- repo: https://github.com/PyCQA/isort
75-
rev: 5.12.0
76-
hooks:
77-
- id: isort
78-
- repo: https://github.com/pycqa/pydocstyle
79-
rev: 6.3.0
80-
hooks:
81-
- id: pydocstyle
82-
additional_dependencies:
83-
- tomli
74+
- id: ruff
75+
- id: ruff-format
8476
- repo: https://github.com/kumaraditya303/mirrors-pyright
85-
rev: v1.1.322
77+
rev: v1.1.390
8678
hooks:
8779
- id: pyright
88-
- repo: https://github.com/PyCQA/bandit
89-
rev: 1.7.5
90-
hooks:
91-
- id: bandit
9280
args:
9381
- -cpyproject.toml
9482
additional_dependencies:

‎shell.nix‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{ pkgs ? import <nixpkgs> { } }:
2+
3+
with pkgs;
4+
mkShell {
5+
name = "tmux-bitahub";
6+
buildInputs = [
7+
(python3.withPackages (
8+
p: with p; [
9+
beautifulsoup4
10+
lxml
11+
pandas
12+
]
13+
))
14+
];
15+
}

0 commit comments

Comments
 (0)