Comments (3)
Looks like the cases
directory doesn't exist. Can you clarify where you got Black from? E.g. the PyPI wheel, an sdist, or a GitHub release tarball.
from black.
Sorry .. looks like my fault.
I've been working on PR to drop python<=3.7 support (filter all code over pyupgrade --py38-plus
+ manual change + filter over ruff
to remove unused imports) and I've added in my rpm spec file temporary remove tests/cases/ to not filter content of that directory .. and on send prod build I forgot to remove tests/cases/ directory remove.
Closing ..
from black.
Yep just retested with remove rm -rf tests/caes
in rpm package %prep and all is clean now.
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-black-24.4.2-2.fc37.x86_64/usr/lib64/python3.10/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-black-24.4.2-2.fc37.x86_64/usr/lib/python3.10/site-packages
+ /usr/bin/pytest -ra -m 'not network'
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.10.14, pytest-8.1.1, pluggy-1.4.0
benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/tkloczko/rpmbuild/BUILD/black-24.4.2
configfile: pyproject.toml
plugins: mock-3.14.0, benchmark-4.0.0, timeout-2.3.1
collected 372 items / 1 skipped
tests/test_black.py ............................................................................................................................................s.. [ 38%]
tests/test_blackd.py .................... [ 43%]
tests/test_docs.py . [ 44%]
tests/test_format.py ................................................................................................................................................................ [ 87%]
............. [ 90%]
tests/test_no_ipynb.py ss [ 91%]
tests/test_ranges.py ............................... [ 99%]
tests/test_schema.py . [ 99%]
tests/test_trans.py . [100%]
================================================================================== short test summary info ==================================================================================
SKIPPED [1] tests/test_ipynb.py:26: IPython is an optional dependency
SKIPPED [1] tests/test_black.py:2962: relies on 3.12+ syntax
SKIPPED [2] tests/test_no_ipynb.py: Marked with disabled optional tests (no_jupyter)
========================================================================= 369 passed, 4 skipped in 73.47s (0:01:13) =========================================================================
from black.
Related Issues (20)
- Black not deleting unnecessary brackets HOT 3
- Cannot format f-strings where the contents re-use the same quotes as the enclosing f-string HOT 1
- Cannot parse multiline f-string containing multiline string HOT 1
- Is there any way to have a permalink for a specific version in the changelog doc? HOT 5
- Unnecessary parentheses added to expression in indexed assignment
- "EOF in multi-line string" on string containing same quote nested in f-string HOT 2
- Failure to format when double-quotes are in an f-string's code block HOT 6
- Long lines that concatenate list comprehensions HOT 3
- Black Formatter not working for this code. HOT 2
- Python 3.12 `def f[T: Generics](...)` HOT 2
- Strings not being formatted by Black HOT 3
- Black fails to format string which has '='s etc HOT 2
- Black v24.4.1 & v24.4.2 fails to format f-strings containing multi-line strings HOT 1
- Advice (UFMT) command-failed Failed due to ASTSafetyError HOT 2
- fmt: skip is required at the line which follows the one incorrectly formatted
- Error in github actions when using `use_pyproject: true` HOT 2
- Error: Invalid value for 'SRC ...': Path '...' does not exist.
- Technical doc for smoother contribution
- import asyncio HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from black.