File tree Expand file tree Collapse file tree 4 files changed +200
-81
lines changed Expand file tree Collapse file tree 4 files changed +200
-81
lines changed Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [" setuptools" ]
3
+ build-backend = " setuptools.build_meta"
4
+
5
+ [project ]
6
+ name = " nixos-anywhere-pxe"
7
+ description = " Install NixOS with PXE"
8
+ dynamic = [" version" ]
9
+ scripts = { nixos-anywhere-pxe = " nixos_anywhere_pxe:main" }
10
+
11
+ [tool .pytest .ini_options ]
12
+ addopts = " --cov . --cov-report term --cov-fail-under=100 --no-cov-on-fail"
13
+
14
+ [tool .mypy ]
15
+ python_version = " 3.10"
16
+ warn_redundant_casts = true
17
+ disallow_untyped_calls = true
18
+ disallow_untyped_defs = true
19
+ no_implicit_optional = true
20
+
21
+ [[tool .mypy .overrides ]]
22
+ module = " setuptools.*"
23
+ ignore_missing_imports = true
24
+
25
+ [[tool .mypy .overrides ]]
26
+ module = " pytest.*"
27
+ ignore_missing_imports = true
28
+
29
+ [tool .ruff ]
30
+ line-length = 88
31
+
32
+ select = [" E" , " F" , " I" ]
33
+ ignore = [ " E501" ]
34
+
35
+ [tool .black ]
36
+ line-length = 88
37
+ target-version = [' py310' ]
38
+ include = ' \.pyi?$'
39
+ exclude = '''
40
+ /(
41
+ \.git
42
+ | \.hg
43
+ | \.mypy_cache
44
+ | \.tox
45
+ | \.venv
46
+ | _build
47
+ | buck-out
48
+ | build
49
+ | dist
50
+ # The following are specific to Black, you probably don't want those.
51
+ | blib2to3
52
+ | tests/data
53
+ | profiling
54
+ )/
55
+ '''
Original file line number Diff line number Diff line change 2
2
perSystem = { config , pkgs , ... } : {
3
3
packages = {
4
4
nixos-anywhere = pkgs . callPackage ./. { } ;
5
+ nixos-anywhere-pxe = pkgs . callPackage ./nixos_anywhere_pxe { } ;
5
6
default = config . packages . nixos-anywhere ;
6
7
} ;
7
8
devShells . default = config . packages . nixos-anywhere . devShell ;
You can’t perform that action at this time.
0 commit comments