googleapis / googleapis/google-cloud-python

Some noxfile.py files are still using blacken

未关闭
#16,018 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p3 type: process
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
122

描述

### 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_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。