Skip to content

Commit

Permalink
fix(linting): code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
azory-ydata authored and fabclmnt committed May 7, 2024
1 parent bea0326 commit a053f4b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ydata_profiling/utils/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ def analytics_features(dataframe: str, datatype: str, report_type: str) -> None:
endpoint = "https://packages.ydata.ai/ydata-profiling?"
package_version = __version__

if bool(os.getenv("YDATA_PROFILING_NO_ANALYTICS")) is not True and package_version!='0.0.dev0':
if (
bool(os.getenv("YDATA_PROFILING_NO_ANALYTICS")) is not True
and package_version != "0.0.dev0"
):
try:
subprocess.check_output("nvidia-smi")
gpu_present = True
Expand Down

0 comments on commit a053f4b

Please sign in to comment.