File tree Expand file tree Collapse file tree 8 files changed +41
-11
lines changed
cluster/{{cookiecutter.project_short_name}}
default/{{cookiecutter.project_short_name}} Expand file tree Collapse file tree 8 files changed +41
-11
lines changed Original file line number Diff line number Diff line change 1
- Copyright (c) 2017-2022 Tim Tröndle
1
+ Copyright (c) 2017-2024 Tim Tröndle
2
2
3
3
Permission is hereby granted, free of charge, to any person obtaining
4
4
a copy of this software and associated documentation files (the
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ The generated repository will have the following structure:
74
74
├── tests <- Automatic tests of the source code go in here.
75
75
│ └── test_model.py <- Demo file.
76
76
├── .editorconfig <- Editor agnostic configuration settings.
77
- ├── .flake8 <- Linting settings for flake8 .
77
+ ├── .ruff <- Linter and formatter settings for ruff .
78
78
├── .gitignore
79
79
├── environment.yaml <- A file to create an environment to execute your project in.
80
80
├── LICENSE.md <- MIT license description
@@ -87,7 +87,7 @@ The generated repository will have the following structure:
87
87
```
88
88
├── envs
89
89
│ └── shell.yaml <- An environment for shell rules.
90
- ├── profiles <- Snakemake profiles.
90
+ ├── profiles
91
91
│ └── cluster <- Cluster Snakemake profile folder.
92
92
│ └── config.yaml <- Cluster Snakemake profile.
93
93
├── rules
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ../../default/{{cookiecutter.project_short_name}}/.ruff.toml
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ line-length = 88
2
+ preview = true # required to activate many pycodestyle errors and warnings as of 2024-05-01
3
+ builtins = [" snakemake" ]
4
+
5
+ [format ]
6
+ quote-style = " double"
7
+ indent-style = " space"
8
+ docstring-code-format = false
9
+ line-ending = " auto"
10
+
11
+ [lint ]
12
+ select = [
13
+ # pycodestyle errors
14
+ " E" ,
15
+ # pycodestyle warnings
16
+ " W" ,
17
+ # Pyflakes
18
+ " F" ,
19
+ # pyupgrade
20
+ " UP" ,
21
+ # flake8-bugbear
22
+ " B" ,
23
+ # flake8-simplify
24
+ " SIM" ,
25
+ # isort
26
+ " I" ,
27
+ ]
28
+ ignore = [
29
+ # here and below, rules are redundant with formatter, see
30
+ # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
31
+ " E501" ,
32
+ " W191" ,
33
+ " E111" ,
34
+ " E114" ,
35
+ " E117" ,
36
+ ]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ configfile: "config/default.yaml"
6
6
include : "./rules/sync.smk"
7
7
localrules : all , report , clean
8
8
{% - endif % }
9
- min_version ("7.8 " )
9
+ min_version ("8.10 " )
10
10
11
11
{% if cookiecutter ._add_cluster_infrastructure == True - % }
12
12
onstart :
Original file line number Diff line number Diff line change @@ -4,5 +4,4 @@ channels:
4
4
- bioconda
5
5
dependencies :
6
6
- python=3.11
7
- - flake8=3.8.3
8
7
- snakemake-minimal=8.10.7
You can’t perform that action at this time.
0 commit comments