Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snipper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tuhe
snipper
Commits
1d359cdd
Commit
1d359cdd
authored
2 months ago
by
tuhe
Browse files
Options
Downloads
Patches
Plain Diff
Small fixes to snipper
parent
f900971f
No related branches found
No related tags found
No related merge requests found
Pipeline
#44076
failed
2 months ago
Stage: test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/codesnipper.egg-info/PKG-INFO
+14
-2
14 additions, 2 deletions
src/codesnipper.egg-info/PKG-INFO
src/snipper/snipper_main.py
+2
-5
2 additions, 5 deletions
src/snipper/snipper_main.py
src/snipper/version.py
+1
-1
1 addition, 1 deletion
src/snipper/version.py
with
17 additions
and
8 deletions
src/codesnipper.egg-info/PKG-INFO
+
14
−
2
View file @
1d359cdd
Metadata-Version: 2.
1
Metadata-Version: 2.
4
Name: codesnipper
Version: 0.1.18.1
6
Version: 0.1.18.1
8
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.
...
...
This diff is collapsed.
Click to expand it.
src/snipper/snipper_main.py
+
2
−
5
View file @
1d359cdd
...
...
@@ -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
):
>>>>>>>
90
ebeca37d37eb3863a0984dba7d5dde2aa7e880
if
str
(
file
).
endswith
(
"
rst
"
):
assert
not
run_files
and
not
cut_files
and
not
censor_files
...
...
This diff is collapsed.
Click to expand it.
src/snipper/version.py
+
1
−
1
View file @
1d359cdd
__version__
=
"
0.1.18.1
6
"
__version__
=
"
0.1.18.1
8
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment