closember
Here are 43 public repositories matching this topic...
Now that #3490 has been merged, we should add more prometheus metrics to the notebook server!
Some ideas for metrics to add...
- Number of kernels running (labeled by type)
- Number of sessions open (not sure if this is useful?)
- Number of terminals open
- Mirror of the activity tracking metrics
- Kernel start / stop latency metric
-
Updated
Mar 20, 2022 - Python
Current problem
It is almost always considered a bad practice to manually invoke a __magic__ method on a class.
# Bad
my_str = my_object.__str__()
# Good
my_str = str(my_object)A warning for this type of issue could be nice and instructive for people who are new to Python.
Desired solution
A warning is given when Pylint is run on code that invokes __magic__ methods
-
Updated
Mar 14, 2022
-
Updated
Mar 19, 2022 - Python
Feature Request
Is your feature request related to a problem? Please describe.
Whenever I report a bug, I need to confirm what satpy version I am using. This is of course important, but it's also an extra step that could be semi-automated.
Describe the solution you'd like
I would like that debug_on() prints the relevant versions. When we report bugs, we anyway call `debu
At the moment, there are three separate files holding coding style requirements:
- The
pyproject.toml. In this file, it is possible to find the style requirements in thetestsgroup. - The
.pre-commit-config.yaml. This file is not able to parse previous one, so dependencies need to
-
Updated
Mar 19, 2022 - Python
$ PYTHONPATH=$PWD sphinx-build -b man -d traitlets docs/source .
Running Sphinx v3.5.4
Initializing GitHub plugin
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [man]: all manpa-
Updated
Mar 17, 2022 - Python
-
Updated
Mar 19, 2022 - Python
Many issues we run into (e.g. freshish ReproNim/containers#62) with git-annex stem from "exotic" filesystems, often used on HPC, and which could be proprietary and cannot be setup within our CI to be tested against. When users report problems, and even share WTF information, it requires inquiring more to discover specific of the filesystem in question and possibly releva
Code Sample, a minimal, complete, and verifiable piece of code
from pyresample.boundary import Boundary
b = Boundary(my_lons, my_lats)
print(b.contour_poly.area())Problem description
The above code doesn't fail if the provided lons/lats are 2D (not sure on 3D+), but the class and all functions/utilities underneath it assume 1D arrays. The end results are incor
-
Updated
Mar 7, 2022 - Python
🎯 Todo
Conda environment became sluggish, and it is even causing failures in the Continuus-integration tests : the conda environemnt crashes during build . https://app.travis-ci.com/github/radis/radis/jobs/562227307 (fails #422)
💡 Possible solutions
The IS2_DEM_comparison_WIP.ipynb notebook is still in the repo, but is not shown on the docs page because it is too outdated. icepyx now has some of the functionalities (e.g. data read in) that previously relied on other 2019 hackweek libraries, and the DEM used in the comparison cannot be shared publicly (though it is freely available to download). We need to migrate this example to a more easily
It should be the same as pymc-devs/pymc#5486 but here in pymc-examples.
Organize examples
As our examples grow they becomes a bit harder to navigate. Might be good to think about organizing them better. Maybe a (max 1 layer deep) dir structure, or just more sensible names.
Related, I really like how the Threejs examples can be searched by keyword. Maybe something for our docs? (Technically a separate issue.)
#94 introduce the <module_name>.expected_errors, which has a mapping of error names to which object fail with those.
In particular this will allow us to track when some errors get fixed (in papyri or upstream).
Other files, use the exclude = [list of str] option, which is impractical as it does not tell us whether the failure are still happening or not.
For all files that have a lo
-
Updated
Mar 1, 2022 - Python
Improve this page
Add a description, image, and links to the closember topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the closember topic, visit your repo's landing page and select "manage topics."


Python 3.10 added suggestions for AttributeError and NameError in the error messages. It seems the suggestions are not stored in the exception object but calculated when Error is displayed. There is a note that that this won't work with IPython but it will be good to see if it's feasible. Opening an issue for discussion.
https://bugs.python.org/issue38530
https://docs.python.org/3/whatsnew/3.