Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
- python-version: '3.10'
toxenv: typing
os: ubuntu-latest
- python-version: '3.10'
toxenv: duplication
os: ubuntu-latest
- python-version: '3.10'
toxenv: minimal
os: ubuntu-latest
Expand All @@ -63,6 +66,12 @@ jobs:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Set up Node.js (for jscpd)
if: matrix.toxenv == 'duplication'
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ build/
dist/
venvs/
.DS_Store
.tmp/

# Produced by versioningit
src/con_duct/_version.py
Expand Down
26 changes: 26 additions & 0 deletions .jscpd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"threshold": 0,
"reporters": ["console"],
"ignore": [
"**/node_modules/**",
"**/.git/**",
"**/.tox/**",
"**/.venv/**",
"**/venvs/**",
"**/__pycache__/**",
"**/*.egg-info/**",
"**/.eggs/**",
"**/.cache/**",
"**/.npm/**",
"**/.idea/**",
"**/.mypy_cache/**",
"**/.ruff_cache/**",
"**/.pytest_cache/**",
"**/.tmp/**",
"**/dist/**",
"**/build/**",
"**/CHANGELOG.md"
],
"minTokens": 50,
"minLines": 5
}
Loading
Loading