googleapis / googleapis/google-cloud-python

Some noxfile.py files are still using blacken

Offen
#16,018 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
priority: p3 type: process
Vorherrschende Sprache
Python
Sterne
5.4k
Forks
1.8k
Ø Merge
3 T. 4 Std.
Gemergte PRs (30 T.)
122

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.