googleapis / googleapis/google-cloud-python

Some noxfile.py files are still using blacken

Open
#16,018 0 comments 0 reactions 0 assignees View on GitHub
priority: p3 type: process
Dominant language
Python
Stars
5.4k
Forks
1.8k
Avg merge
3d 4h
Merged PRs (30d)
122

Description

### Determine this is the right repository

- [x] I determined this is the correct repository in which to report this bug.

### Summary of the issue

We should use the same code formatting across all packages.

Currently, 7 packages don't use ruff:

```sh
$ grep -L ruff packages/*/noxfile.py
```

Results:

- packages/bigquery-magics/noxfile.py
- packages/db-dtypes/noxfile.py
- packages/google-api-core/noxfile.py
- packages/google-auth-httplib2/noxfile.py
- packages/google-auth-oauthlib/noxfile.py
- packages/google-cloud-bigquery/noxfile.py
- packages/google-cloud-bigtable/noxfile.py
- packages/google-cloud-core/noxfile.py
- packages/google-cloud-dns/noxfile.py
- packages/google-cloud-documentai-toolbox/noxfile.py
- packages/google-cloud-ndb/noxfile.py
- packages/google-cloud-runtimeconfig/noxfile.py
- packages/google-cloud-testutils/noxfile.py
- packages/google-crc32c/noxfile.py
- packages/proto-plus/noxfile.py

### API client name and version

_No response_

### Reproduction steps: code

file: main.py
```python
def reproduce():
# complete code here
```

### Reproduction steps: supporting files

file: mydata.csv
```
alpha,1,3
beta,2,5
```

### Reproduction steps: actual results

file: output.txtmydata.csv
```
Calculated: foo
```

### Reproduction steps: expected results

file: output.txtmydata.csv
```
Calculated: bar
```

### OS & version + platform

_No response_

### Python environment

_No response_

### Python dependencies

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.