File tree 3 files changed +23
-3
lines changed
3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -52,3 +52,6 @@ __pycache__/
52
52
.mypy_cache /
53
53
.dmypy.json
54
54
dmypy.json
55
+
56
+ # nix-direnv
57
+ .direnv
Original file line number Diff line number Diff line change 1
1
GNU General Public License
2
2
==========================
3
3
4
- _ Version 3, 29 June 2007_
4
+ _ Version 3, 29 June 2007_
5
5
_ Copyright © 2007 Free Software Foundation, Inc. < ; < http://fsf.org/ > > ; _
6
6
7
7
Everyone is permitted to copy and distribute verbatim copies of this license
@@ -593,5 +593,3 @@ more useful to permit linking proprietary applications with the library. If this
593
593
what you want to do, use the GNU Lesser General Public License instead of this
594
594
License. But first, please read
595
595
< ; < http://www.gnu.org/philosophy/why-not-lgpl.html > > ; .
596
-
597
-
Original file line number Diff line number Diff line change 13
13
packages . nix-eval-jobs = pkgs . callPackage ./hydra.nix {
14
14
srcDir = self ;
15
15
} ;
16
+
17
+ checks = {
18
+
19
+ editorconfig = pkgs . runCommand "editorconfig-checks" {
20
+ nativeBuildInputs = [
21
+ pkgs . editorconfig-checker
22
+ ] ;
23
+ } ''
24
+ editorconfig-checker ${ self }
25
+ touch $out
26
+ '' ;
27
+
28
+ } ;
29
+
16
30
defaultPackage = self . packages . ${ system } . nix-eval-jobs ;
17
31
devShell = defaultPackage . overrideAttrs ( old : {
32
+
18
33
nativeBuildInputs = old . nativeBuildInputs ++ [
34
+
35
+ pkgs . editorconfig-checker
36
+
19
37
( pkgs . python3 . withPackages ( ps : [
20
38
ps . pytest
21
39
] ) )
40
+
22
41
] ;
23
42
} ) ;
24
43
} ) ;
You can’t perform that action at this time.
0 commit comments