Browse Source

rename template file for pythoncode questions so that black doesn't get confused by it

pull/91/head
adam j hartz 1 week ago
parent
commit
a518c2418b
4 changed files with 3 additions and 3 deletions
  1. +1
    -1
      .jenkinsfile
  2. +0
    -0
      catsoop/__QTYPES__/pythoncode/__SANDBOXES__/_template
  3. +1
    -1
      catsoop/__QTYPES__/pythoncode/__SANDBOXES__/bwrap.py
  4. +1
    -1
      catsoop/__QTYPES__/pythoncode/__SANDBOXES__/python.py

+ 1
- 1
.jenkinsfile View File

@@ -21,7 +21,7 @@ pipeline {
}
stage('Style') {
steps {
sh 'black --check --exclude catsoop/__QTYPES__/pythoncode/__SANDBOXES__/_template.py .'
sh 'black --check .'
}
}
}


catsoop/__QTYPES__/pythoncode/__SANDBOXES__/_template.py → catsoop/__QTYPES__/pythoncode/__SANDBOXES__/_template View File


+ 1
- 1
catsoop/__QTYPES__/pythoncode/__SANDBOXES__/bwrap.py View File

@@ -54,7 +54,7 @@ def run_code(
"__QTYPES__",
"pythoncode",
"__SANDBOXES__",
"_template.py",
"_template",
)
) as f:
template = f.read()


+ 1
- 1
catsoop/__QTYPES__/pythoncode/__SANDBOXES__/python.py View File

@@ -68,7 +68,7 @@ def run_code(
"__QTYPES__",
"pythoncode",
"__SANDBOXES__",
"_template.py",
"_template",
)
) as f:
template = f.read()


Loading…
Cancel
Save