-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prettier: prefer single quotes (#2280)
* rettier: prefer single quotes * Move lockfile to root directory * Use single quotes in config files
- Loading branch information
1 parent
9451362
commit 6a5aaf4
Showing
111 changed files
with
485 additions
and
483 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "devcontainers" | ||
directory: "/.devcontainer" | ||
- package-ecosystem: 'devcontainers' | ||
directory: '/.devcontainer' | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
interval: 'weekly' | ||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "pip" | ||
directory: "/requirements" | ||
interval: 'weekly' | ||
- package-ecosystem: 'pip' | ||
directory: '/requirements' | ||
schedule: | ||
interval: "daily" | ||
interval: 'daily' | ||
groups: | ||
# torchvision pins torch, must update in unison | ||
torch: | ||
patterns: | ||
- "torch" | ||
- "torchvision" | ||
- 'torch' | ||
- 'torchvision' | ||
ignore: | ||
# setuptools releases new versions almost daily | ||
- dependency-name: "setuptools" | ||
update-types: ["version-update:semver-patch"] | ||
- dependency-name: 'setuptools' | ||
update-types: ['version-update:semver-patch'] | ||
# sphinx 6 is incompatible with pytorch-sphinx-theme | ||
# https://github.com/pytorch/pytorch_sphinx_theme/issues/175 | ||
- dependency-name: "sphinx" | ||
versions: ">=6" | ||
- dependency-name: 'sphinx' | ||
versions: '>=6' | ||
# segmentation-models-pytorch pins timm, must update in unison | ||
- dependency-name: "timm" | ||
- package-ecosystem: "npm" | ||
directory: "/requirements" | ||
- dependency-name: 'timm' | ||
- package-ecosystem: 'npm' | ||
directory: '/' | ||
schedule: | ||
interval: "weekly" | ||
versioning-strategy: "lockfile-only" | ||
interval: 'weekly' | ||
versioning-strategy: 'lockfile-only' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
# TorchGeo modules | ||
datamodules: | ||
- changed-files: | ||
- any-glob-to-any-file: "torchgeo/datamodules/**" | ||
- any-glob-to-any-file: 'torchgeo/datamodules/**' | ||
datasets: | ||
- changed-files: | ||
- any-glob-to-any-file: "torchgeo/datasets/**" | ||
- any-glob-to-any-file: 'torchgeo/datasets/**' | ||
losses: | ||
- changed-files: | ||
- any-glob-to-any-file: "torchgeo/losses/**" | ||
- any-glob-to-any-file: 'torchgeo/losses/**' | ||
models: | ||
- changed-files: | ||
- any-glob-to-any-file: "torchgeo/models/**" | ||
- any-glob-to-any-file: 'torchgeo/models/**' | ||
samplers: | ||
- changed-files: | ||
- any-glob-to-any-file: "torchgeo/samplers/**" | ||
- any-glob-to-any-file: 'torchgeo/samplers/**' | ||
trainers: | ||
- changed-files: | ||
- any-glob-to-any-file: "torchgeo/trainers/**" | ||
- any-glob-to-any-file: 'torchgeo/trainers/**' | ||
transforms: | ||
- changed-files: | ||
- any-glob-to-any-file: "torchgeo/transforms/**" | ||
- any-glob-to-any-file: 'torchgeo/transforms/**' | ||
|
||
# Other | ||
dependencies: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "pyproject.toml" | ||
- "requirements/**" | ||
- ".github/dependabot.yml" | ||
- 'pyproject.toml' | ||
- 'requirements/**' | ||
- '.github/dependabot.yml' | ||
documentation: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "docs/**" | ||
- "*.md" | ||
- ".github/*.md" | ||
- ".readthedocs.yaml" | ||
- 'docs/**' | ||
- '*.md' | ||
- '.github/*.md' | ||
- '.readthedocs.yaml' | ||
scripts: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "torchgeo/__main__.py" | ||
- "torchgeo/main.py" | ||
- "experiments/**" | ||
- 'torchgeo/__main__.py' | ||
- 'torchgeo/main.py' | ||
- 'experiments/**' | ||
testing: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "tests/**" | ||
- ".github/workflows/**" | ||
- 'tests/**' | ||
- '.github/workflows/**' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: "labeler" | ||
name: 'labeler' | ||
on: | ||
- pull_request_target | ||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.12" | ||
python-version: '3.12' | ||
- name: Cache dependencies | ||
uses: actions/[email protected] | ||
id: cache | ||
|
@@ -47,7 +47,7 @@ jobs: | |
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.12" | ||
python-version: '3.12' | ||
- name: Cache dependencies | ||
uses: actions/[email protected] | ||
id: cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.12" | ||
python-version: '3.12' | ||
- name: Cache dependencies | ||
uses: actions/[email protected] | ||
id: cache | ||
|
@@ -46,7 +46,7 @@ jobs: | |
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.12" | ||
python-version: '3.12' | ||
- name: Cache dependencies | ||
uses: actions/[email protected] | ||
id: cache | ||
|
@@ -73,12 +73,12 @@ jobs: | |
- name: Set up nodejs | ||
uses: actions/[email protected] | ||
with: | ||
node-version: "20" | ||
cache: "npm" | ||
cache-dependency-path: "requirements/package-lock.json" | ||
node-version: '20' | ||
cache: 'npm' | ||
cache-dependency-path: 'package-lock.json' | ||
- name: Installing prettier | ||
run: | | ||
npm install requirements/ | ||
npm install | ||
npm cache clean --force | ||
- name: List npm dependencies | ||
run: npm ls --all | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
python-version: ["3.10", "3.11", "3.12"] | ||
python-version: ['3.10', '3.11', '3.12'] | ||
steps: | ||
- name: Clone repo | ||
uses: actions/[email protected] | ||
|
@@ -63,7 +63,7 @@ jobs: | |
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
python-version: '3.10' | ||
- name: Cache dependencies | ||
uses: actions/[email protected] | ||
id: cache | ||
|
@@ -98,7 +98,7 @@ jobs: | |
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.12" | ||
python-version: '3.12' | ||
- name: Cache dependencies | ||
uses: actions/[email protected] | ||
id: cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.12" | ||
python-version: '3.12' | ||
- name: Cache dependencies | ||
uses: actions/[email protected] | ||
id: cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ | |
|
||
# Node stuff: | ||
node_modules/ | ||
/*.json | ||
|
||
# Spack | ||
.spack-env/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
# https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md | ||
# Can be validated using `cffconvert --validate` | ||
authors: | ||
- family-names: "Stewart" | ||
given-names: "Adam J." | ||
- family-names: "Robinson" | ||
given-names: "Caleb" | ||
- family-names: "Corley" | ||
given-names: "Isaac A." | ||
- family-names: "Ortiz" | ||
given-names: "Anthony" | ||
- family-names: "Lavista Ferres" | ||
given-names: "Juan M." | ||
- family-names: "Banerjee" | ||
given-names: "Arindam" | ||
cff-version: "1.2.0" | ||
message: "If you use this software, please cite it using the metadata from this file." | ||
- family-names: 'Stewart' | ||
given-names: 'Adam J.' | ||
- family-names: 'Robinson' | ||
given-names: 'Caleb' | ||
- family-names: 'Corley' | ||
given-names: 'Isaac A.' | ||
- family-names: 'Ortiz' | ||
given-names: 'Anthony' | ||
- family-names: 'Lavista Ferres' | ||
given-names: 'Juan M.' | ||
- family-names: 'Banerjee' | ||
given-names: 'Arindam' | ||
cff-version: '1.2.0' | ||
message: 'If you use this software, please cite it using the metadata from this file.' | ||
preferred-citation: | ||
authors: | ||
- family-names: "Stewart" | ||
given-names: "Adam J." | ||
- family-names: "Robinson" | ||
given-names: "Caleb" | ||
- family-names: "Corley" | ||
given-names: "Isaac A." | ||
- family-names: "Ortiz" | ||
given-names: "Anthony" | ||
- family-names: "Lavista Ferres" | ||
given-names: "Juan M." | ||
- family-names: "Banerjee" | ||
given-names: "Arindam" | ||
collection-title: "Proceedings of the 30th International Conference on Advances in Geographic Information Systems" | ||
collection-type: "proceedings" | ||
- family-names: 'Stewart' | ||
given-names: 'Adam J.' | ||
- family-names: 'Robinson' | ||
given-names: 'Caleb' | ||
- family-names: 'Corley' | ||
given-names: 'Isaac A.' | ||
- family-names: 'Ortiz' | ||
given-names: 'Anthony' | ||
- family-names: 'Lavista Ferres' | ||
given-names: 'Juan M.' | ||
- family-names: 'Banerjee' | ||
given-names: 'Arindam' | ||
collection-title: 'Proceedings of the 30th International Conference on Advances in Geographic Information Systems' | ||
collection-type: 'proceedings' | ||
conference: | ||
city: "Seattle" | ||
city: 'Seattle' | ||
name: "SIGSPATIAL '22" | ||
region: "Washington" | ||
doi: "10.1145/3557915.3560953" | ||
region: 'Washington' | ||
doi: '10.1145/3557915.3560953' | ||
end: 12 | ||
isbn: "9781450395298" | ||
isbn: '9781450395298' | ||
month: 11 | ||
number: 19 | ||
publisher: | ||
name: "Association for Computing Machinery" | ||
name: 'Association for Computing Machinery' | ||
start: 1 | ||
title: "TorchGeo: Deep Learning With Geospatial Data" | ||
type: "conference-paper" | ||
url: "https://dl.acm.org/doi/10.1145/3557915.3560953" | ||
title: 'TorchGeo: Deep Learning With Geospatial Data' | ||
type: 'conference-paper' | ||
url: 'https://dl.acm.org/doi/10.1145/3557915.3560953' | ||
year: 2022 | ||
title: "TorchGeo: Deep Learning With Geospatial Data" | ||
title: 'TorchGeo: Deep Learning With Geospatial Data' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.