From 1d359cdd019f040003ba69c2f6847ad510b5bd67 Mon Sep 17 00:00:00 2001 From: Tue Herlau <tuhe@dtu.dk> Date: Tue, 29 Apr 2025 16:10:03 +0200 Subject: [PATCH] Small fixes to snipper --- src/codesnipper.egg-info/PKG-INFO | 16 ++++++++++++++-- src/snipper/snipper_main.py | 7 ++----- src/snipper/version.py | 2 +- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/src/codesnipper.egg-info/PKG-INFO b/src/codesnipper.egg-info/PKG-INFO index e359694..f7b322f 100644 --- a/src/codesnipper.egg-info/PKG-INFO +++ b/src/codesnipper.egg-info/PKG-INFO @@ -1,6 +1,6 @@ -Metadata-Version: 2.1 +Metadata-Version: 2.4 Name: codesnipper -Version: 0.1.18.16 +Version: 0.1.18.18 Summary: A lightweight framework for censoring student solutions files and extracting code + output Home-page: https://lab.compute.dtu.dk/tuhe/snipper Author: Tue Herlau @@ -15,6 +15,18 @@ Description-Content-Type: text/markdown License-File: LICENSE Requires-Dist: pybtex Requires-Dist: numpy +Dynamic: author +Dynamic: author-email +Dynamic: classifier +Dynamic: description +Dynamic: description-content-type +Dynamic: home-page +Dynamic: license +Dynamic: license-file +Dynamic: project-url +Dynamic: requires-dist +Dynamic: requires-python +Dynamic: summary # Snipper A lightweight framework for removing code from student solutions. diff --git a/src/snipper/snipper_main.py b/src/snipper/snipper_main.py index 22aa673..62819cf 100644 --- a/src/snipper/snipper_main.py +++ b/src/snipper/snipper_main.py @@ -47,14 +47,11 @@ def censor_file(file, run_files=True, run_out_dirs=None, cut_files=True, strict=True, references=None, license_head=None, -<<<<<<< HEAD package_base_dir=None, - update_file=True # Update the file 'file' (i.e., write to it). + update_file=True, # Update the file 'file' (i.e., write to it). + verbose=False, ): -======= - package_base_dir=None, verbose=False): ->>>>>>> 90ebeca37d37eb3863a0984dba7d5dde2aa7e880 if str(file).endswith("rst"): assert not run_files and not cut_files and not censor_files diff --git a/src/snipper/version.py b/src/snipper/version.py index c705e21..dc5ef5f 100644 --- a/src/snipper/version.py +++ b/src/snipper/version.py @@ -1 +1 @@ -__version__ = "0.1.18.16" +__version__ = "0.1.18.18" -- GitLab