Skip to content

Commit aa3152d

Browse files
author
Sebastian Gazey
committed
change src to ssri
1 parent fe97f32 commit aa3152d

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
- name: Lint with flake8
3636
run: |
3737
# stop the build if there are Python syntax errors or undefined names
38-
flake8 src/ssri.py --count --select=E9,F63,F7,F82 --show-source --statistics
38+
flake8 ssri/ssri.py --count --select=E9,F63,F7,F82 --show-source --statistics
3939
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
40-
flake8 src/ssri.py --count --select=E9,F63,F7,F82 --exit-zero --max-complexity=10 --max-line-length=127 --statistics
40+
flake8 ssri/ssri.py --count --select=E9,F63,F7,F82 --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4141
- name: Test with pytest
4242
run: |
4343
python -m pytest -s -vv

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ classifiers = [
2424
]
2525

2626
[project.scripts]
27-
ssri = "ssri:main"
27+
ssri = "ssri.ssri:main"
2828

2929
[project.urls]
3030
Homepage = "https://github.com/Sebagabones/Server-Side-Rendered-Includes"
3131

3232
[tool.pytest.ini_options]
3333
pythonpath = [
34-
"src"
34+
"ssri"
3535
]
3636
#addopts = [
3737
# "--import-mode=importlib",
File renamed without changes.
File renamed without changes.

tests/pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[pytest]
2-
pythonpath = src
2+
pythonpath = ssri

tests/test_stuff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22
#import ssri
33
# import ssri
4-
from src import ssri
4+
import ssri
55
import sys
66
import filecmp
77
import pytest

0 commit comments

Comments
 (0)