Comments (4)
If these aren't an issue for the benchmarking I'm inclined to leave the code as-is. The cmp
and type
uses are within the vendorized jsonschema which will hopefully be replaced with a dependency if jsonschema re-adds the features required by asdf.
As far as I'm aware,buffer
is a builtin only in python 2, perhaps sonarqube isn't scanning for only python 3 issues?
from asdf.
ok, sounds good to me then! I'll mark the issues as "ignore" in sonarqube
from asdf.
Do these cause any issue for the benchmarking?
Looking over the "smells" I see:
- several in the copied/vendorized jsonschema
- uses of the word 'buffer'. I guess this is too generic of a word for sonarqubes liking?
from asdf.
Do these cause any issue for the benchmarking?
Looking over the "smells" I see:
- several in the copied/vendorized jsonschema
- uses of the word 'buffer'. I guess this is too generic of a word for sonarqubes liking?
There weren't any issues with benchmarking; it had a bunch of even more minor (minor-er?) suggestions that I ignored, but in this case it said cmp
, type
, and buffer
are apparently already built-in functions / object names, so that might cause insidious errors
from asdf.
Related Issues (20)
- There is no API for providing `**kwargs` to `Compressor.decompress`
- `Compressors` provided via the `extensions` argument to `asdf.AsdfFile.__init__` are ignored
- asdftool repr for Time objects HOT 5
- Find way to deprecate ndarray validators being applied to all tags
- Deprecate `asdf.tags.core.ndarray.validate_*`
- Remove deprecated features
- Add ability to directly access schema file to paths
- Deprecate `copy_arrays`
- Remove `copy_arrays` and switch `memmap` default to `False`
- handle newline in schema contents returned for `info`
- yaml has not attribute `ConstructorError`
- `asdf.treeutil.walk_and_modify` does not perform a deep copy HOT 1
- Tree containing `id` causes reference resolution failure. HOT 1
- `asdf.util.filepath_to_url` does not accept `Path` instances
- `asdf.treeutil.walk_and_modify` is not depth first
- `asdf.treeutil.walk_and_modify` does not remove nodes in list
- asdf odd handling of `namedtuple` that prevents implementing a `Converter`
- ASDF swallows warnings raised by converters HOT 6
- `load_schema` does not resolve local references
- asdf pytest plugin is incompatible with pytest 8.1.dev
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 asdf.